Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 210 Bytes

grammar.md

File metadata and controls

8 lines (7 loc) · 210 Bytes
Expression  := Term ( ("+" | "-") Term )*
Term        := Factor ( ("*" | "/") Factor )*
Factor      := Unary | Unary "^" Factor
Unary       := ("-")* Primary
Primary     := NUMBER | "(" Expression ")"