mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-25 22:08:53 +01:00
8 lines
160 B
Plaintext
8 lines
160 B
Plaintext
|
root ::= (expr "=" ws term "\n")+
|
||
|
expr ::= term ([-+*/] term)*
|
||
|
term ::= num | "(" ws expr ")" ws
|
||
|
num ::= [0-9]+ ws
|
||
|
ws ::= [ \t\n]*
|
||
|
# this is a comment
|
||
|
|