ZOLparser/ZOLparser/grammar.txt

5 lines
176 B
Plaintext
Raw Normal View History

2021-10-17 18:01:16 +00:00
expression -> wedge ( ( "->" | "<->" ) wedge)*
wedge -> unary ( ( "^" | "v" ) unary)*;
unary -> "~" unary | primary;
primary -> atom | "(" expression ")" ;
atom -> [pqrs] ;