roza/doc/roza.bnf

12 lines
179 B
BNF
Raw Normal View History

2023-12-09 17:24:41 +00:00
MOD ::= EXPR*
2023-12-11 17:01:22 +00:00
EXPR ::=
| ASSERT
| EQNE
2023-12-11 17:01:22 +00:00
ASSERT ::= assert EXPR
EQNE ::=
2023-12-15 20:32:17 +00:00
| CMP
| CMP eq CMP
| CMP ne CMP
CMP ::= BUILTIN ((lt | le | ge | gt) BUILTIN)?
2023-12-10 03:49:28 +00:00
BUILTIN ::= num | bool | str