Anonymous user
Parse EBNF: Difference between revisions
m
minor
(simple parser generator example ?) |
m (minor) |
||
Line 5:
* You can use regular expressions for lexing.
* Generate the calculator in [[Arithmetic evaluation]] using an EBNF description of the calculator.
Here
term : factor ( ( MULT | DIV ) factor )* ;
|