- Treesitter
- Grammar parser
- Syntax highlight
- AST parser
- Visitor pattern support
- Semantic checker
- Type checker
- Type inference
- Default value inference
- LLVM IR code gen
- Support module linker (via gcc linker)
- Var declaration
- Simple primary types (number, bool, string, void)
- Simple operations (binary and unary op)
- Scopes
- Control operations (if-else, for-loop)
- Function declaration
- Function call expression
- Lambda function call
- Standard lib
toon 0.1.0
Tuan Vuong <vanhtuan0409@gmail.com>
USAGE:
toon <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
compile Compile source code to asm or object code
help Prints this message or the help of the given subcommand(s)
parse Parse AST tree from source code
run Run generated IR code via JIT engine