Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mixtao
/
text-generation-webui
like
0
Running
App
Files
Files
Community
074d31b
text-generation-webui
/
grammars
/
arithmetic.gbnf
zhengr
First version
19dc0f3
6 months ago
raw
Copy download link
history
blame
Safe
177 Bytes
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]*