[antlr-interest] Re: Problem converting grammar into java files

Ric Klaren klaren at cs.utwente.nl
Fri Jul 9 05:18:08 PDT 2004


On Fri, Jul 09, 2004 at 11:56:52AM -0000, bhuvana_t_76 wrote:
> Right. There is a DmlSQL2 package available for download. I tried to 
> convert it from grammar to java file. When i give like 
> 
> java antlr.Tool DmlSQL2.g
> 
> it creates .cpp files. How to get the java stuff from a grammar. Can 
> u guide me?

Remove the Language = "Cpp"; option but there's probably also other action
code you have to port to java.

Cheers,

Ric
-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755  ----
-----+++++*****************************************************+++++++++-------
  Quidquid latine dictum sit, altum viditur.
                 (Whatever is said in Latin sounds profound.)



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

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

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



More information about the antlr-interest mailing list