An opinionated library to help you build compilers.
- Ast Creation Tools
- Ast Walk functionality built in
- Ast node typing garauntees (ensure that all nodes are well defined)
- Ast nodes having configurable parser patterns (WIP, needs to be more ergonomic)
- Utility decorators for annotation of individual parts of the compilers
- Parser pattern builder
- unions on patterns (
orclause) -
andclause on patterns
- unions on patterns (
- Parser builder (WIP, needs to be more ergonomic)
- Parser check functions built into patterns to allow automatic syntax error parsing.
- Source error highlighting (fine grained highlights)
- Package and module tree utilities
- Lexing via rply library (and utilities)
- Parser token class builtin
- This will not do codegen
- This will not give you lexing capabilities outside of making the use of rply's lexer generator more ergonomic
- This will not provide a type system
- This will not teach you how to build a compiler (altho it will certainly aid in the creation of your first one!)