[antlr-interest] String lexing and partial tokens

Kay Roepke kroepke at classdump.org
Mon Nov 27 16:39:55 PST 2006


On 28. Nov 2006, at 1:27 , Loring Craymer wrote:

>> You can  ask Jim Idle about that, but we decided to
>> use methods for
>> setting the text rather than implementing ! which
>> makes everything
>> inefficient. I could swear there was something in
>> the documentation.
>
> ! in the lexer does not "make everything inefficient";
> you just have to be smart about the implementation.

Then read it as "which makes everything inefficient,
including the current development process, since no one
has stepped up to do it."

I promise that this is the last time I'll take the bait.

> The lexer editing via ! that is currently in the
> Yggdrasil 0.5b releases (I'll have b2 out soon) costs
> about 5-10% (rough estimate from looking at generated
> code); once I can analyze which rules edit, that drops
> still further.

Care to point me at the release? I'm not bad a googling for
stuff, but for the life of me, I can't find it.
All I get is an empty [1] project.

-k

[1] <http://antlr-yggdrasil.cvs.sourceforge.net/antlr-yggdrasil/>

-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list