[antlr-interest] Re: Java language 'comments'

nilopaim npaim at ieg.com.br
Thu Sep 26 10:38:56 PDT 2002


Hi Ter,

I'm so sorry for the question. I should read the docs before... :(

But thanks for the quick response.

Nilo
npaim at hotmail.com

--- In antlr-interest at y..., Terence Parr <parrt at j...> wrote:
> Hi :)
> 
> There are examples of this on the antlr.org site. and also see 
> TokenStream in docs :)
> 
> Ter
> 
> On Thursday, September 26, 2002, at 10:13  AM, nilopaim wrote:
> 
> > Hi All,
> >
> > Congratulations to Terr, Ric and the others guys that work on this
> > great tool.
> >
> > I have a litle (I hope) question.
> >
> > Examining the Java grammar from the main Antlr site 
(www.antlr.org),
> > I saw that comments are just skipped there. Please, could someone
> > give me some hints about incorporating comments and getting it 
into
> > the final AST? All my tries produce a lot of non-determinisms and 
I
> > don't know how to resolve them.
> >
> > How could I insert the handling of comments in the syntax, since
> > comments can appear everywhere?
> >
> > Thanks to all.
> >
> > Nilo
> > npaim at h...
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to 
> > http://docs.yahoo.com/info/terms/
> >
> >
> --
> Co-founder, http://www.jguru.com
> Creator, ANTLR Parser Generator: http://www.antlr.org
> Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list