[antlr-interest] Re: Could someone answer me,please?

lgcraymer lgc at mail1.jpl.nasa.gov
Tue Jul 6 01:51:20 PDT 2004

You will have to translate the support functions--at least, those
which support semantic predicates.  David Wigg and his group
translated the C++ grammar from PCCTS to ANTLR 2, and introduced a
number of semantic predicates that were translated from
PCCTS-generated code (ANTLR 2 does not support hoisting of semantic
predicates--most of the complexity appears to be syntactic predicates
that included hoisted semantic predicates.)  AFAIK, no one has yet
done that.  Also, some of the non-determinism warnings are because
ANTLR 2 does approximate LLk--it may still generate correct code. 
Have you compared the warning message output you get with the original
 (in C++ mode)--despite the difference in target languages, the
warnings should be identical.


--- In antlr-interest at yahoogroups.com, "yjargudo" <yjargudo at t...> wrote:
> Hello,
> I put a message and nobody help me so I try again.
> What I have to do to transform the c++ grammar of the antlr web page
> to java output?
> I removed the language option and all the antlr actions that are
> inserted in the grammar, but I had non-deterministic problems. It's
> correct what I did?. Must I traduce all the support functions that are
> used in the grammar to java?
> The only thing that I need a clean grammar (without any antlr action
> inserted)that recognize c++. There are some place where I can get It?
> Thanks,
> Yolanda

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

More information about the antlr-interest mailing list