Skip to content

Commit

Permalink
Lower ast to intermediate representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Quaqqer committed Jan 14, 2024
1 parent 1271666 commit f664aeb
Show file tree
Hide file tree
Showing 17 changed files with 874 additions and 33 deletions.
27 changes: 27 additions & 0 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
resolver = "2"
members = [
"crates/saft",
"crates/saft-ast",
"crates/saft-ast", "crates/saft-ast-to-ir", "crates/saft-bytecode",
"crates/saft-common",
"crates/saft-eval",
"crates/saft-eval", "crates/saft-ir",
"crates/saft-lexer",
"crates/saft-macro",
"crates/saft-parser",
Expand Down
12 changes: 12 additions & 0 deletions crates/saft-ast-to-ir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "saft-ast-to-ir"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
codespan-reporting = "0.11.1"
saft-ast = { version = "0.1.0", path = "../saft-ast" }
saft-common = { version = "0.1.0", path = "../saft-common" }
saft-ir = { version = "0.1.0", path = "../saft-ir" }
Loading

0 comments on commit f664aeb

Please sign in to comment.