[antlr-interest] Complex AST transformaton

Terence Parr parrt at cs.usfca.edu
Fri Dec 12 14:31:35 PST 2008


Try a grammar import (from where the new tokens come from).  that  
hsould give a union of AST1/AST2 token types.
Ter
On Dec 12, 2008, at 4:36 AM, Oliver Zeigermann wrote:

> Folks!
>
> I am struggeling to how to make a complex AST1 -> AST2 transformation
> where the token types of AST1 are completely different from those in
> AST2. How do I specify "tokenVocab" in this case? Do I have to create
> a token file manually?
>
> Any hints welcome :)
>
> Oliver
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



More information about the antlr-interest mailing list