Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
W404NET
/
My-Chat
like
2
Build error
App
Files
Files
Community
main
My-Chat
/
grammars
/
arithmetic.gbnf
Lee Thanh
Upload All
0eeee8c
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
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]*