in reply to A minilanguage with the least effort?
The least effort is eval, which can be used to implement a mini-language called "Perl". (Note that this comes with security implications).
The second least effort is to use a CPAN module that implements a minilanguage.
Or of course you can write a parser for it (if it's really mini that's going to be easy) and a backend.
The exact approach varies greatly on what you actually want your minilanguage to do.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A minilanguage with the least effort?
by clinton (Priest) on Feb 17, 2009 at 13:27 UTC | |
Re^2: A minilanguage with the least effort?
by wol (Hermit) on Feb 17, 2009 at 18:28 UTC |
In Section
Seekers of Perl Wisdom