Content deleted Content added
make line number start from 1 |
remove line number completely for consistency |
||
Line 79:
=== Examples ===
This is a PEG that recognizes mathematical formulas that apply the basic five operations to non-negative integers.
<syntaxhighlight lang="peg
Expr ← Sum
Sum ← Product (('+' / '-') Product)*
|