mirror of
https://codeberg.org/NLnet/takentaal.git
synced 2025-10-28 02:19:22 +00:00
Antlr grammar for defining tasks.
Tokens that should appear at the start of a line are now prepended with EOL to make them precise. |
||
|---|---|---|
| .gitignore | ||
| example | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| takentaal.g4 | ||
takentaal
Commands
nix develop
# Inspect lexer
antlr4-parse takentaal.g4 takentaal example -tokens
# Inspect parser
antlr4-parse takentaal.g4 takentaal example -tree
antlr4-parse takentaal.g4 takentaal example -gui
# Generate TypeScript parser
antlr4 -Dlanguage=TypeScript -o takentaal takentaal.g4