c42b63e016
Add Body AST item and visit_body in visitor
...
Signed-off-by: Alek Ratzloff <alekratz@gmail.com >
2020-09-03 18:47:48 -07:00
f8819279f8
Fix parser for index and call exprs, remove old test that didn't work, add visitor pattern
...
Signed-off-by: Alek Ratzloff <alekratz@gmail.com >
2020-09-03 18:32:22 -07:00
2fd340a688
Add lexer, parser, ast, and basic command line interaction
...
* Add lexer and parser using lrpar crate
* AST is added and constructed via lexer and parser
* Command line program `not` will read a file and parse it
Signed-off-by: Alek Ratzloff <alekratz@gmail.com >
2020-09-02 14:40:43 -07:00
c25a3b5e2b
Add Cargo.toml, forgot it in the last commit
...
Signed-off-by: Alek Ratzloff <alekratz@gmail.com >
2020-09-02 14:40:40 -07:00
178ed4a952
Initial commit
...
Includes: runtime base from a previous project, syn(tax) module with
parser and lexer
Signed-off-by: Alek Ratzloff <alekratz@gmail.com >
2020-09-01 17:32:48 -07:00