Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Grammar translators

by philcrow (Priest)
on Oct 12, 2007 at 14:23 UTC ( #644489=note: print w/replies, xml ) Need Help??


in reply to Grammar translators

I like your approach a lot. I would suggest compiling your .prd file into a Perl Module. This makes Parse::RecDescent work faster, since it doesn't have to compile the grammar each time. There is a command line variant for this purpose, from the docs:
> perl -MParse::RecDescent - grammar Yet::Another::Grammar
Where grammar is your .prd file name and Yet::Another::Grammar is the name of its top level class.

Phil

The Gantry Web Framework Book is now available.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://644489]
help
Chatterbox?
[Discipulus]: yesterday i changed som plumb filters at home.. neoperl ..
[Corion]: :-D Perl is everywhere!
[choroba]: Discipulus: Ha! Sane dot award 2016!

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-01-20 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.