Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
NahFam13
/
webbyuu
like
1
Build error
App
Files
Files
Community
main
webbyuu
/
grammars
/
arithmetic.gbnf
NahFam13
z2
76a12b2
verified
10 months 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]*