# Timewarrior grammar definition. # Conventions: # - Literals are always double-quoted. # - "*", "+" and "?" suffixes have POSIX semantics. # - "є" means empty set. # - Lower-level primitives are barewords. # - Literal modifiers: # - :a Accept abbreviations # - :i Accept caseless match # - Blank line between rules. # Left associative: # A -> A B # B # # Right associative: # A -> B A # B cli: "start":ai "stop":ai "track":ai help # Non-terminal, cannot contain є. є help: "help":ai topic "help":ai topic: "usage":ai "dates":ai "times":ai