mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 15:29:43 +00:00
7 lines
177 B
Text
7 lines
177 B
Text
|
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]*
|