Commit Graph

23 Commits

Author SHA1 Message Date
Greg Shuflin ea494bb328 Fix a number of TODOs
Add def -> symbol lookup table
Minor syntax changes
2021-10-30 17:38:16 -07:00
Greg Shuflin 5d04a020dc Run rustfmt on ast module 2021-10-28 02:00:37 -07:00
Greg Shuflin 851fd9885f Make a distinct Block type 2021-10-26 14:05:54 -07:00
Greg Shuflin 3402cfe326 Clippy pass 2021-10-26 13:37:03 -07:00
Greg Shuflin df173a0096 Variables in pattern match 2021-10-26 11:37:43 -07:00
Greg Shuflin e52d0bf515 Fix AST visitor 2021-10-26 01:03:06 -07:00
Greg Shuflin df41da84b4 Fix scope test bug
This involved fixing how the ScopeResolver handles local bindings. I
probably want to rewrite much of that code.
2021-10-25 01:02:19 -07:00
Greg Shuflin ba09919aa1 Bunch of rewrites to scope resolver 2021-10-24 00:08:26 -07:00
Greg Shuflin e68331fe0a Make methods on Visitor public
And remove comment
2021-10-23 21:14:13 -07:00
Greg Shuflin e947569100 Rewrite Visitor
And implement the scope resolver in terms of it
2021-10-23 01:02:36 -07:00
Greg Shuflin ae6a79077f more clippy lints 2021-10-19 22:24:27 -07:00
greg c560c29b2d Start to add module syntax 2019-10-22 03:15:14 -07:00
greg f818e86f48 More visitor work 2019-10-15 00:53:21 -07:00
greg 8d3639ab8e Fix everything if-refactor-related save reduced_ast 2019-10-10 14:38:48 -07:00
greg c427646e75 Change type alias 2019-09-28 02:42:18 -07:00
greg f06b5922de Visitor cleanup 2019-09-28 02:37:36 -07:00
greg 253b5d88f0 Finish cleaning up visitor logic 2019-09-28 01:58:22 -07:00
greg f654cd6b50 Start moving all walking logic out of visitor 2019-09-28 01:01:56 -07:00
greg 89649273d8 Still more visitor stuff 2019-09-27 22:34:00 -07:00
greg 9fa4e3797c More visitor stuff 2019-09-27 09:54:24 -07:00
greg c8804eeefb More visitor stuff 2019-09-26 03:26:37 -07:00
greg d80a0036b1 Enough of ASTVisitor to test something 2019-09-26 02:29:35 -07:00
greg 39bb175722 Initial WIP code 2019-09-26 01:31:39 -07:00