[antlr-interest] More on TokenWithIndex

Paul J. Lucas pauljlucas at mac.com
Wed Oct 27 10:24:27 PDT 2004


On Wed, 27 Oct 2004, John D. Mitchell wrote:

> > 		DECLARE <-- this isn't really needed BASE_URL_DECL ...
> 
> Well, given your example, it seems that it is needed.  :-)
> 
> Seriously, one of the key purposes of extra layers in the AST is to give
> you the extra grip that you need to make doing the things that you want,
> easier.

	It's not needed if all I were doing were walking the AST and
	compiling.  Hence, it's not needed in the "pure" sense.  It's
	only needed by the pesky GUI folks to draw pretty red
	squiggles.  (Real programmers don't need no stinking red
	squiggles!)  I don't like the idea of keeping around extra
	stuff so that all potential users of the AST have to deal with
	it.

> (A) Psst!  That's "Terence" with one 'r'.  [He's usually too polite to
> mention it but it's something that seems to bug him. :-)]

	Whoops!  Sorry, Terence.  (Is there a variant with to 'r's?)

> (B) The attribute support coming in v3 will certainly make that easy to do.
> That's a wicked tease, I know.

	Yeah, yeah.  Sigh...  :-(

	- paul



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list