in reply to How to avoid eval()?
Yes, its called Higher Order Perl :)
See Marpa#EXAMPLE 1: A SIMPLE CALCULATOR
See http://search.cpan.org/dist/HOP-Lexer/lib/HOP/Lexer/Article.pod Lexing Without Grammars: When Regular Expressions Suck
http://hop.perl.plover.com/Examples/ALL/calculator
http://cpansearch.perl.org/src/DCONWAY/Parse-RecDescent-1.965001/demo/demo_calc.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to avoid eval()?
by Anonymous Monk on Sep 16, 2011 at 07:51 UTC |