An ISO Extended Backus-Naur Form (EBNF) specification for calculations and assignment expressions.
- Author: Ethan Kletschke
- Version:
1.0.0 - Developed on: Ubuntu (WSL2)
- License: MIT
No more updates will be made to E-Calc as of 2026-08-28.
E-Calc defines:
- The entire English alphabet from A-Z (uppercase and lowercase)
- The digits 0-9
- Signs (
+and-) - Integers with optional signs
- Simple assignment of values to variables (RHS assigned to LHS, or
lhs = rhs) - Arithmetic operators
- Exponentiation
E-calc is intentionally simple. As such:
- E-Calc has no parentheses or BODMAS precedence
- E-calc is not a full language spec