[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug: inlining changes start state



On Wed, Jul 09, 2008 at 11:10:01AM -0400, Etienne M. Gagnon wrote:
> PPS: Glad to learn that inlining is actually useful to some people. I 
> received almost no feedback about it so far. :-)

I guess the problem with getting feedback is that people usually use
the mailing list when they have a problem, rather than when they've
found something to be useful. 

I've found the inlining very useful indeed. It has simplified some of
my grammars considerably. Previously I had to make evil ad hoc hacks
in the lexer to fake tokens, and replace all the fakes afterwards
using a depth first adapter. All of this confusing stuff was
eliminated by inlining.

The only problem I've had with inlining is that it sometimes it can be
very, very slow. I don't know if there's much that can be done about
that.

-- 
Jon Shapcott <eden@xxxxxxxxxxxxxxxxxxx>
"This is the Space Age, and we are Here To Go" - William S. Burroughs