Skip to content

Instantly share code, notes, and snippets.

@koduki
Created February 3, 2009 21:35
Show Gist options
  • Save koduki/57776 to your computer and use it in GitHub Desktop.
Save koduki/57776 to your computer and use it in GitHub Desktop.
Expr ::= Expr + Term | Expr - Term | Term
Term ::= Term * Fact | Term / Fact | Term % Fact| Fact
Fact ::= ( Expr ) | number | +number | -number|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment