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