mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 18:45:09 +02:00
8 lines
160 B
Text
8 lines
160 B
Text
|
root ::= (expr "=" ws term "\n")+
|
||
|
expr ::= term ([-+*/] term)*
|
||
|
term ::= num | "(" ws expr ")" ws
|
||
|
num ::= [0-9]+ ws
|
||
|
ws ::= [ \t\n]*
|
||
|
# this is a comment
|
||
|
|