Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Gathering experiences with Parse::RecDescentby jmcnamara (Monsignor) |
on Oct 20, 2005 at 11:36 UTC ( [id://501629]=note: print w/replies, xml ) | Need Help?? |
I used Parse::RecDescent mainly for the formula parser in Spreadsheet::WriteExcel and I found it relatively easy to learn and use. The learning phase was greatly helped by the 40 demo programs and the tutorial. The usage phase was helped by the combination of lexer and parser in one. However, it is very slow. The (vaguely) promised Parse::FastDescent never materialised and probably never will given the enhanced parsing features in Perl6 regexes. In the end I moved/am moving to Parse::Yapp since it is faster and having a Yacc-like grammar is useful for porting to other languages. If you are looking for other real-life experiences with P::RD then this article gives some practical observations in relation to using Parse::RecDescent, Parse::Yapp, Perl-byacc and regular expressions in a real project.
--
In Section
Seekers of Perl Wisdom
|
|