Skip to content

Commit

Permalink
Improving Compiler Debuggability (#77)
Browse files Browse the repository at this point in the history
- AST printing
- Slightly prettier playground
- Error console formatting
- Ok-ish error support in playground
  • Loading branch information
A1Liu authored May 4, 2023
1 parent 81feb04 commit e9b9d7a
Show file tree
Hide file tree
Showing 29 changed files with 1,085 additions and 237 deletions.
110 changes: 108 additions & 2 deletions Cargo.lock

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

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[workspace]

members = [
"compiler",
"tci-web"
]
members = ["compiler", "tci-web"]

[profile.dev]
opt-level = 0
opt-level = 0

[profile.release]
opt-level = "z"
Expand Down
3 changes: 2 additions & 1 deletion compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "compiler"
version = "0.1.0"
authors = ["Albert Liu <[email protected]>"]
edition = "2021"
description = "Teaching C Interpreter"
description = "C compiler for students"
license = "MIT"

[dependencies]
Expand All @@ -16,6 +16,7 @@ clap = { version = "4.2.4", features = ["derive"] }
bitfield-struct = "0.3"
enum_derive = "0.1.7"
macro-attr = "0.2.0"
rayon = "1.7.0"

[dev-dependencies]
ntest = "0.9.0"
Loading

0 comments on commit e9b9d7a

Please sign in to comment.