Antlr grammar for defining tasks.
Find a file
Jos van den Oever 9b1da89cdf Require a space after an amount
Otherwise the space becomes part of the description.
2024-10-01 13:28:41 +02:00
.gitignore feat: add instructions for TS parser generation 2024-08-13 16:44:34 +02:00
amendment_example Add a grammar for an amendment 2024-09-04 16:38:41 +02:00
flake.lock init 2024-08-12 10:47:19 +02:00
flake.nix init 2024-08-12 10:47:19 +02:00
plan_example Add a grammar for an amendment 2024-09-04 16:38:41 +02:00
README.md Add a grammar for an amendment 2024-09-04 16:38:41 +02:00
takentaal.g4 Require a space after an amount 2024-10-01 13:28:41 +02:00
takentaal.spec.1.0.md Some fixes to the spec text and update to 1.0 2024-09-04 17:05:39 +02:00
takentaal.spec.latest.md Add TakenTaal 0.1.0 spec 2024-09-03 12:30:36 +02:00

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