"be consistent" | |
PerlMonks |
Re^2: How to parse a limited grammarby clinton (Priest) |
on Jan 10, 2008 at 16:55 UTC ( [id://661656]=note: print w/replies, xml ) | Need Help?? |
Thanks for the reply Ted Yes, I had considered just eval'ing the code - as you surmised, this will be added by trusted users only. Paranoia, an aversion to string evals, and a desire to learn about parsing led me to this post. But evals may yet be the way to go. HOP::Parser is great but very, very slow. That is what I feared - good to know Probably my main reason for looking at a proper parser solution was to be able to handle nested expressions and logic branches (terminology?). I didn't want to waste time going down one road if it was obvious to everybody else that I shouldn't bother. Given what you've said, I'm going to give it a go, and just see where it takes me. thanks again
In Section
Seekers of Perl Wisdom
|
|