Re: [Pyparsing] (no subject)
Brought to you by:
ptmcg
From: Gre7g L. <haf...@ya...> - 2008-04-04 15:26:08
|
--- "W. Martin Borgert" <de...@de...> wrote: > I will try this. The main problem is, that my > grammar is HUGE > (> 600 productions), so it is a lot of work. Also, I > already > suffer both performance and memory problems with > large input > files, so I'm curious about the consequences of this > change :~) Oof. If you're looking at a huge grammar, then you might consider the "hacking pyparsing.py" route instead. My grammar is only about 45 statements and I was already parsing nearly everything into objects (all derived from a single base class) anyhow. So it really wasn't bad for me to make a single change to my base class and let that effect everything. You may be making a much larger gamble with your time by changing so much code. Would you like me to take a crack at this hack? Gre7g __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |