Perl Monk, Perl Meditation | |
PerlMonks |
Re: AutoMagic HTMLby erikharrison (Deacon) |
on Jun 24, 2003 at 06:36 UTC ( [id://268401]=note: print w/replies, xml ) | Need Help?? |
Well, you've got a simple markup. So what you're really doing is hacking up a parser for it. And we all know what happens to hacks . . . So, in the interest of elegance, ease, and extensibility, I'd use an existant parser generator, and keep the language definition around to extend. I'd use Parse::RecDescent myself, but use whatever you like of course. Cheers,Erik Light a man a fire, he's warm for a day. Catch a man on fire, and he's warm for the rest of his life. - Terry Pratchet
In Section
Seekers of Perl Wisdom
|
|