-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Separated WASM output into separate crate - Basic Playground - Easy to create errors - Easy to create a new kind of error - Error stack traces in debug mode
- Loading branch information
Showing
88 changed files
with
661 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
[package] | ||
name = "tci" | ||
version = "0.1.0" | ||
authors = ["Albert Liu <[email protected]>"] | ||
edition = "2021" | ||
description = "Teaching C Interpreter" | ||
license = "MIT" | ||
[workspace] | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[dependencies] | ||
wasm-bindgen = "0.2.70" | ||
wee_alloc = "0.4.5" | ||
lazy_static = "1.4.0" | ||
soa_derive = "0.12.0" | ||
codespan-reporting = "0.11.1" | ||
serde = { version = "1.0.59", features = ["derive"] } | ||
serde_json = "1.0.59" | ||
clap = { version = "4.2.4", features = ["derive"] } | ||
bitfield-struct = "0.3" | ||
enum_derive = "0.1.7" | ||
macro-attr = "0.2.0" | ||
|
||
[dev-dependencies] | ||
ntest = "0.9.0" | ||
members = [ | ||
"compiler", | ||
"tci-web" | ||
] | ||
|
||
[profile.dev] | ||
opt-level = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "compiler" | ||
version = "0.1.0" | ||
authors = ["Albert Liu <[email protected]>"] | ||
edition = "2021" | ||
description = "Teaching C Interpreter" | ||
license = "MIT" | ||
|
||
[dependencies] | ||
lazy_static = "1.4.0" | ||
soa_derive = "0.12.0" | ||
codespan-reporting = "0.11.1" | ||
serde = { version = "1.0.59", features = ["derive"] } | ||
serde_json = "1.0.59" | ||
clap = { version = "4.2.4", features = ["derive"] } | ||
bitfield-struct = "0.3" | ||
enum_derive = "0.1.7" | ||
macro-attr = "0.2.0" | ||
|
||
[dev-dependencies] | ||
ntest = "0.9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.