Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: advice with Parse::RecDescent

by gbarr (Monk)
on Dec 10, 2001 at 21:14 UTC ( [id://130709]=note: print w/replies, xml ) Need Help??


in reply to advice with Parse::RecDescent

The way in which P::RD is implemented gives it great flexability and power. But this comes at the cost of performance.

If speed is of a real concern then I would suggest you look at byacc and the perl output mode. Although you will still need to write your own lexer.

This is what I have done in the past, and can bee seen in the parser included in Convert::ASN1

Replies are listed 'Best First'.
Re: Re: advice with Parse::RecDescent
by NicS (Scribe) on Dec 10, 2001 at 22:04 UTC
    If you are thinking of moving to an LALR grammer also take a look at Parse::Yapp.

    Not sure how it compares to byacc with perl output (any ideas anyone?), but together with Parse::Lex made a nice combination for me.

    --

    Nic

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found