Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement modules #297

Merged
merged 30 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4065e67
chore: remove air-script-core crate
bitwalker May 15, 2023
4d42a68
feat: add string interning infrastructure
bitwalker May 15, 2023
5873247
feat: modify lexer in preparation for grammar changes
bitwalker May 15, 2023
496ac08
feat: rewrite/simplify airscript grammar and ast
bitwalker May 15, 2023
0d21fc2
feat: implement import resolver/semantic analysis
bitwalker May 15, 2023
f860d4a
chore: update parser tests
bitwalker May 16, 2023
8f53fa5
feat: implement constant propagation pass
bitwalker May 18, 2023
03bad30
feat: add pass infrastructure crate
bitwalker Jun 5, 2023
62544bb
feat: add utilities for pretty-printing ast
bitwalker Jun 5, 2023
d996872
chore: move type enums to their own module
bitwalker Jun 5, 2023
6d86d5f
chore: track type of random value and trace bindings
bitwalker Jun 5, 2023
f440738
chore: rename ModuleError to SemanticAnalysisError
bitwalker Jun 5, 2023
f580895
feat: support more expressiveness in the ast
bitwalker Jun 5, 2023
4e15705
fix: use btreemap for more deterministic ast diffs
bitwalker Jun 5, 2023
095a752
feat: add LexicalScope data structure
bitwalker Jun 5, 2023
e75347e
refactor: clean up semantic analysis implementation
bitwalker Jun 5, 2023
516e00e
refactor: clean up constant propagation pass
bitwalker Jun 5, 2023
e7d2a26
feat: implement inlining pass
bitwalker Jun 5, 2023
59f5142
feat: add parse_file and parse_str helpers to parser api
bitwalker Jun 5, 2023
bf2495e
refactor: clean up ir
bitwalker Jun 5, 2023
471f7a0
feat: implement ast to air lowering
bitwalker Jun 5, 2023
f5a3f11
chore: update air tests
bitwalker Jun 5, 2023
6901c2c
feat: add codegenerator trait to air-ir crate
bitwalker Jun 22, 2023
5a5b53a
chore: update codegen/winterfell
bitwalker Jun 5, 2023
b1440c1
chore: update codegen/masm
bitwalker Jun 22, 2023
6c0c357
chore: update air-script cli
bitwalker Jun 5, 2023
e67df58
fix(clippy): incorrect module doc comments
bitwalker Jun 5, 2023
8813a2d
fix(clippy): unnecessary into_iter call on range
bitwalker Jun 5, 2023
e5b2add
fix(test): changes to implementation of ord for symbol
bitwalker Jun 20, 2023
f08b2f8
fix: incorrect result when indexing a slice access
bitwalker Jun 21, 2023
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
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"air-script",
"parser",
"pass",
"ir",
"codegen/masm",
"codegen/winterfell",
Expand Down
14 changes: 0 additions & 14 deletions air-script-core/Cargo.toml

This file was deleted.

14 changes: 0 additions & 14 deletions air-script-core/README.md

This file was deleted.

115 changes: 0 additions & 115 deletions air-script-core/src/access.rs

This file was deleted.

44 changes: 0 additions & 44 deletions air-script-core/src/comprehension.rs

This file was deleted.

46 changes: 0 additions & 46 deletions air-script-core/src/constant.rs

This file was deleted.

14 changes: 0 additions & 14 deletions air-script-core/src/expression.rs

This file was deleted.

22 changes: 0 additions & 22 deletions air-script-core/src/identifier.rs

This file was deleted.

22 changes: 0 additions & 22 deletions air-script-core/src/lib.rs

This file was deleted.

Loading