Ohm Editor
8 days ago
- #arithmetic
- #expressions
- #grammar
- Defines arithmetic expressions with operations like addition, subtraction, multiplication, division, and exponentiation.
- Includes rules for handling parentheses, unary plus and minus, identifiers, and numbers (both fractional and whole).
- Provides examples of arithmetic expressions: '2 * (42 - 1) / 91+2*3', 'oh no', '( 123 )', '(2+4)*7'.