Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <expr> = <term> { <second_op> <term> }
  2. <term> = <factor> { (<prior_op> <factor> }
  3. <factor> = ['!' | '+' | '-'] <value> [<as_kw> <type>] // Here i must use another nonterminal to support conversion to other types and +- before expr, and the '!' operator for inversions.
  4. <value> = <callable>
  5. = <const>
  6. = '(' <expr> ')'
  7.  
  8. <callable> = <id>
  9. = <f_call>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement