[antlr-interest] using antlr for multiple parse phases?

Terence Parr parrt at cs.usfca.edu
Wed Dec 28 10:26:21 PST 2005


On Dec 27, 2005, at 4:20 PM, Jon Jagger wrote:

> I would like to know if its possible to use antlr so the token  
> stream input at 'phase N' is built from the ast output at 'phase N-1'
> (and if so, is the lookahead information still computed correctly)?

Yup, though people usually use trees not token streams for multiple  
phases.

Ter


More information about the antlr-interest mailing list