[antlr-interest] Is ANTLR Yggdrasil supported by ANTLRWorks? (WAS: % in target code)

Micheal J open.zone at virgin.net
Thu Mar 27 11:20:13 PDT 2008


> From: antlr-interest-bounces at antlr.org On Behalf Of Loring Craymer
> Sent: 26 March 2008 22:29
> To: Olivier Lefevre; antlr-interest at antlr.org
> Subject: Re: [antlr-interest] % in target code
> 	
> 
> ANTLR 3 attributes are not first class (ANTLR) language elements, and 
> attributes are effectively referenced only within actions ($ syntax) 
> so that ANTLR effectively deals with a superset of the target language,
> not the target language itself.  Further, string templates may be 
> instantiated in actions (% syntax).
> 
> This problem does not occur in ANTLR Yggdrasil, largely as a consequence 
> of having first class attributes that are strongly typed.  I should have 
> a release out within a month or two; I am currently in the middle of 
> developing the tree grammar generator.

Loring,

Is ANTLR Yggdrasil supported by ANTLRWorks (or rather will it be when
released)?

I'd like to better understand the differences with stock ANTLR again though
my focus is on lexer and parser generation. A couple more questions:

- Is the codegen largely v3.0.x-like? (that would simplify adding C#
support)

- Will ANTLR Yggdrasil support v3.1 features e.g. grammar imports in the
coming release? Ever?

Micheal

-----------------------
The best way to contact me is via the list/forum. My time is very limited. 



More information about the antlr-interest mailing list