Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DanofficeIT
/
privatellm
like
0
Runtime error
App
Files
Files
Community
819081e
privatellm
/
grammars
/
arithmetic.gbnf
lhhj
first
57e3690
2 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]*