[antlr-interest] AST Translation

Bill Andersen andersen at ontologyworks.com
Mon Aug 25 10:34:25 PDT 2008


Folks

I have two surface languages A and B, with two associated abstract  
syntaxes (expressed in separate tree grammars).  I'd like to write a  
tree parser that translates ASTs for language A into ASTs for language  
B.  Is there an easy way to supply two sets of tokens for the  
tokenVocab option for the translation grammar?

	.bill


More information about the antlr-interest mailing list