sine-patre/doc/grammar.bnf

17 lines
308 B
BNF
Raw Normal View History

2024-04-24 08:56:13 +00:00
F ::= EXISTS
EXISTS ::= exists var FORALL | FORALL
FORALL ::= forall var IMP | IMP
IMP ::= OR imp OR
OR ::= AND (or AND)*
AND ::= NOT (and NOT)*
2024-04-24 12:40:43 +00:00
NOT ::= not? GROUP
2024-04-25 16:47:45 +00:00
GROUP ::= PRED | opar F cpar
2024-04-24 08:56:13 +00:00
PRED ::= pred opar TERM (comma TERM)* cpar
TERM ::=
| var
| const
2024-04-24 12:40:43 +00:00
| FUN
FUN ::= var opar TERM (comma TERM)* cpar