Next | Higher-Order Parsing | 21 |
Similarly, the rule
expression → "(" expression ")"
Translates to:
$expression = conc(lookfor("("), $expression, lookfor(")"), );
Oops, no, not quite
In better functional languages, this is no problem
Even in Perl, this is fixable—but I don't have time to fix it
Next | Copyright © 2007 M. J. Dominus |