-
77824e19be
Remove unnecessary braces in main.rs
master
Alek Ratzloff
2020-05-27 15:18:32 -04:00
-
78b4fb02f5
Add Expr::GetAttr to IR, and change Lhs::Name to hold a NameId instead of a Sym
Alek Ratzloff
2020-05-27 15:17:54 -04:00
-
44411f0392
Update block AST translation to accept a TranslateAst object instead of a Ctx object
Alek Ratzloff
2020-05-27 15:16:45 -04:00
-
b6375a81ff
Add BinOp and UnOp to syn::ast::prelude
Alek Ratzloff
2020-05-27 15:15:46 -04:00
-
65b8d3af58
Update associativity of dot binary expressions and suffix expressions
Alek Ratzloff
2020-05-27 15:07:14 -04:00
-
a2a70a8604
Update visitor pattern for AST
Alek Ratzloff
2020-05-26 18:58:27 -04:00
-
93c99e65df
Remove previous in-code TODO, add new TODO
gc-visitor
Alek Ratzloff
2020-05-22 19:43:03 -04:00
-
c5e1dca7ac
Add VisitObj and Obj::accept(&self, ..) method
Alek Ratzloff
2020-05-22 19:19:12 -04:00
-
86afce8686
Continue working on overhauling Accept/Visit
Alek Ratzloff
2020-05-22 14:26:27 -04:00
-
7de005b160
WIP: DynAccept trait, Visitor-based GC
Alek Ratzloff
2020-05-22 12:04:27 -04:00
-
18f9810070
Move compile::visit mod to crate root
Alek Ratzloff
2020-05-21 19:09:48 -04:00
-
7b470b1e76
Spread out implementations of symbol and attrs-related things, add impl blocks for TranslateAst
Alek Ratzloff
2020-05-21 18:51:54 -04:00
-
926447a62d
Run cargo fix
Alek Ratzloff
2020-05-20 15:33:21 -04:00
-
0eaa5060a2
Run cargo fmt
Alek Ratzloff
2020-05-20 15:25:10 -04:00
-
161166da15
Add symbol collection visitor
Alek Ratzloff
2020-05-20 15:24:40 -04:00
-
499e09b254
Move compile::Ctx to its own mod, compile::ctx::Ctx
Alek Ratzloff
2020-05-20 14:51:30 -04:00
-
9439dfda87
Remove some unused things (interning, type object definition)
Alek Ratzloff
2020-05-20 14:47:59 -04:00
-
32591f5e29
Update how visitors work, add NameId type
Alek Ratzloff
2020-05-20 14:41:12 -04:00
-
3ce7384f15
Fix bug when lexing single-quoted strings
Alek Ratzloff
2020-05-19 15:42:34 -04:00
-
fb3f217d7d
Change syntax Pos to use 1-based indices for lines and columns by default
Alek Ratzloff
2020-05-19 15:42:13 -04:00
-
98f455e6fa
Squash some warnings
Alek Ratzloff
2020-05-19 15:29:20 -04:00
-
8dc89f7153
Add a lot of new stuff to the compile mod
Alek Ratzloff
2020-05-19 15:26:38 -04:00
-
c0833086b6
Fix newattrs test
Alek Ratzloff
2020-05-16 18:54:25 -04:00
-
d5cf39108b
Changes all around - objects and GC
Alek Ratzloff
2020-05-16 18:46:09 -04:00
-
a15dde0fc2
Add vm and compile modules
Alek Ratzloff
2020-05-16 12:56:52 -04:00
-
a60471f526
Add AttrsBuidler, change Attrs struct around some
Alek Ratzloff
2020-05-15 11:33:53 -04:00
-
f3680f29ad
Add Attrs::new() test
Alek Ratzloff
2020-05-14 17:17:14 -04:00
-
ccb12306d4
Add mem and obj modules, move to nightly
Alek Ratzloff
2020-05-14 17:10:53 -04:00
-
e233ff1cfc
Clean up warnings, update next_body, add more tests
Alek Ratzloff
2020-05-08 16:19:01 -04:00
-
378bcef40b
Add comment skipping to lexer
Alek Ratzloff
2020-05-08 12:34:51 -04:00
-
e7e8690463
Add structopt and base argument parsing
Alek Ratzloff
2020-05-07 18:31:08 -04:00
-
1232eca64c
Add function expression parsing
Alek Ratzloff
2020-05-07 17:43:39 -04:00
-
d90ecfd4d7
cargo fmt
Alek Ratzloff
2020-05-06 18:04:07 -04:00
-
10e37e2707
Add dot binary op expression parsing
Alek Ratzloff
2020-05-06 18:02:13 -04:00
-
d238610f33
Add dot as binop
Alek Ratzloff
2020-05-06 17:55:56 -04:00
-
5d3021ced7
Add indexing expression parsing and tests
Alek Ratzloff
2020-05-06 17:55:25 -04:00
-
44970dbf97
Add dot token
Alek Ratzloff
2020-05-06 17:41:46 -04:00
-
5c505e5ae5
Add function call expressions
Alek Ratzloff
2020-05-06 17:39:31 -04:00
-
bd87e9dd30
Add block expression parsing and test
Alek Ratzloff
2020-05-06 17:14:55 -04:00
-
66af3dcc53
Add base statement parsing
Alek Ratzloff
2020-05-06 16:57:28 -04:00
-
7698e49baf
cargo fmt
Alek Ratzloff
2020-05-05 17:22:39 -04:00
-
ae99bbfc1e
Add object parsing and tests
Alek Ratzloff
2020-05-05 17:21:12 -04:00
-
4c2f18b7c9
Update parser bin_expr testing to be more consistent with the rest of the tests
Alek Ratzloff
2020-05-05 16:52:46 -04:00
-
5622eb96bc
Add ObjBrace token
Alek Ratzloff
2020-05-05 16:43:38 -04:00
-
a4f289fb53
Add more expressions to parser, add EOL and newline tokens
Alek Ratzloff
2020-05-05 16:38:07 -04:00
-
d9edf21d16
Add expression parsing
Alek Ratzloff
2020-05-02 18:42:01 -04:00
-
28d29c2270
Add parser and AST, remove some stuff from lexer
Alek Ratzloff
2020-04-27 20:17:16 -04:00
-
ce97d90f9d
Move lexer to use regex instead of hand-rolled lexing
Alek Ratzloff
2020-04-27 19:50:46 -04:00
-
58421a0469
Initial commit with lexer
Alek Ratzloff
2020-04-27 12:42:17 -04:00