Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[workspace]
resolver = "2"
members = ["crates/own-ir", "crates/own-syntax"]
members = ["crates/own-ir", "crates/own-syntax", "crates/own-cfg"]

[workspace.package]
edition = "2021"
Expand Down
20 changes: 20 additions & 0 deletions rust/crates/own-cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "own-cfg"
description = "OwnLang AST -> CFG lowering, an exact port of ownlang/{cfg,cfg_json,buffers}.py gated by the CFG-JSON differential oracle"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
version = "0.1.0"

[dependencies]
own-syntax = { path = "../own-syntax" }
# The canonical CFG JSON seam is built as a serde_json value tree and dumped
# through a Python-`json.dumps(indent=2, sort_keys=True)`-compatible printer, so
# the oracle can byte-compare it against `python -m ownlang cfg --format json`.
serde_json = { workspace = true }

[dev-dependencies]

[lints]
workspace = true
Loading
Loading