mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-31 06:30:15 +01:00
7 lines
177 B
Plaintext
7 lines
177 B
Plaintext
|
root ::= (expr "=" ws term "\n")+
|
||
|
expr ::= term ([-+*/] term)*
|
||
|
term ::= ident | num | "(" ws expr ")" ws
|
||
|
ident ::= [a-z] [a-z0-9_]* ws
|
||
|
num ::= [0-9]+ ws
|
||
|
ws ::= [ \t\n]*
|