Re: RecDescent

[email protected] (Terrence Brannon)
Newsgroups perl.recdescent
Message-ID <[email protected]>
On Tuesday, December 11, 2001, at 06:57 AM, Adaoui Mark wrote:

>
> Hi all, i have just successfully managed to build a parser using 
> RecDescent,
> though it is very very slow, takes about 14mins to parse an input 
> file that
> is 80kb.
> Is this a common problem with RecDec, or is this the norm?
>
> we have a program written in Heskel that parses the same input 
> file in less
> than 5 seconds!
>
>

do you mean "Haskell" as in http://www.haskell.org

I have never heard of Heskel...

anyway, I would be curious to see both your RecDescent grammar 
and the input file. I can't imagine the difference between the 
two being so great!

However, for clues on optimization use these resources:

** Parse::RecDescent::FAQ at search.cpan.org
** this recent discussion: 
http://www.perlmonks.org/index.pl?node_id=130656
** reading the archives of this list as well as Usenet archives 
is un-necessary as I have pulled all old optimization hints from 
both places into the FAQ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.