mp has asked for the wisdom of the Perl Monks concerning the following question:
I have been exploring several alternatives:
I am leaning toward the third option -- minilanguage with translator to perl. Are there any major pitfalls with such an approach?
I have not found much written about writing a minilanguage translator in perl, though Template Toolkit does serve as an example. Can anyone point me to some good resources as to how to get started down this path?
I envision bulding the parser/translator in something like Parse::RecDescent or Parse::Yapp. Parsing speed is not very critical in this application because code would be parsed once and converted to perl, then used many times.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Embedded perl or mini-language translator to perl
by eric256 (Parson) on Sep 01, 2004 at 16:35 UTC | |
Re: Embedded perl or mini-language translator to perl
by kvale (Monsignor) on Sep 01, 2004 at 16:59 UTC | |
Re: Embedded perl or mini-language translator to perl
by gmpassos (Priest) on Sep 01, 2004 at 19:36 UTC | |
Re: Embedded perl or mini-language translator to perl
by ikegami (Patriarch) on Sep 01, 2004 at 16:44 UTC | |
by mp (Deacon) on Sep 01, 2004 at 17:05 UTC |