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
In reply to Re: How to avoid eval()?
by Anonymous Monk
in thread How to avoid eval()?
by emilbarton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |