mirror of
https://codeberg.org/NLnet/takentaal.git
synced 2025-10-24 16:44:35 +00:00
Antlr grammar for defining tasks.
|
|
||
|---|---|---|
| .gitignore | ||
| amendment_example | ||
| flake.lock | ||
| flake.nix | ||
| plan_example | ||
| README.md | ||
| takentaal.g4 | ||
| takentaal.spec.0.1.0.md | ||
| takentaal.spec.latest.md | ||
takentaal
Commands
nix develop
# Inspect lexer
antlr4-parse takentaal.g4 takentaal plan_example -tokens
# Inspect parser
antlr4-parse takentaal.g4 takentaal plan_example -tree
antlr4-parse takentaal.g4 takentaal plan_example -gui
# Generate TypeScript parser
antlr4 -Dlanguage=TypeScript -o takentaal takentaal.g4