A dialect of Nova with lots of brackets!
- Rust 80.8%
- Nix 16.3%
- Arc 2.9%
| src | ||
| test_progs | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Arclight
Arclight is a dialect of Nova!
Syntax in Arclight goes like
stack_name(match terms go here) : other_stack_name{
symbols to push go here
};
You can also use a '?' after a trigger stack name to make it not actually pop the matched elements.
Ex:
stack_name?(This match term won't pop) : other_stack_name{
symbols to push go here
};
Variables are similar to January, with $ in front of vars
Ex:
stack_name(This is a $var) : other_stack_name{
$var can be reused here
};
Current status is a functional parser, planning to add a proper interpreter soon along with docs, more tests, and QoL syntax/special stacks!