[antlr-interest] Re: trees with payloads??

John D. Mitchell johnm-antlr at non.net
Thu Nov 11 20:30:26 PST 2004


>>>>> "lgcraymer" == lgcraymer  <lgc at mail1.jpl.nasa.gov> writes:
>>>>>> In antlr-interest at yahoogroups.com, "John D. Mitchell"
[...]

>> I think you're talking about my demand, ahem :-), that there be a
>> standard slot for a set of dynamic attributes.  The actual set would
>> only be created if needed so the only required overhead is the
>> reference/pointer.

> We part company here.  I can see that as part of an AST library facility
> (use this if you want to), but not as a default.  It adds a library
> requirement for Hashmap which complicates porting.

IMNSHO, the dynamic attributes support is a fundamental feature of Antlr
v3.

> On the other hand, if that requirement were added, I'd be willing to see
> syntactic support for symbol table manipulation in ANTLR--that would be a
> relatively small next step.

Hmm... Adding some stack support to the dynamic attribute stuff is a no
brainer but what sort of syntactic support are you thinking of?

Take care,
	John




 
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