AST generator, built with python for parse table construction and Rust for lexer & compiler.
astgen accepts a JSON-style dialect of BNF context-free grammar and generates rust source code * rustc compiled binary that constructs an abstract syntax tree from a target source.
- accepts python dict, not JSON, in tablegen.py
- boilerplate & hard-coded parse tables in rust source
- parse logic
- AST construction while parsing
- rust lexer