Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.


The Gantry Web Framework Book is now available.

Comment on Re: Grammar translators
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://644489]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-11-27 07:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls