[antlr-interest] Problem converting grammar into java files

Ric Klaren klaren at cs.utwente.nl
Fri Jul 9 03:03:26 PDT 2004


On Fri, Jul 09, 2004 at 09:47:03AM -0000, bhuvana_t_76 wrote:
> This is creating all the lexer and parser .java files. I downloaded 
> SqlSQL2.zip from the website www.antlr.org. And I tried to give like 
> this after extracting:
> 
> java antlr.Tool SqlSQL2.g
> 
> This ends up in error as:
> error: grammar DmlSQL2Parser not defined
> error: grammar DmlSQL2Lexer not defined

Looks like SqlSQL2 builds on top of the DmlSQL2 package also available from
the website (the link above the DmlSQL2 package). Check out the grammar
inheritance section of the manual for the mechanisms behind it.

Cheers,

Ric
-- 
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755  ----
-----+++++*****************************************************+++++++++-------
  Wit is cultured insolence. --- Aristotle



 
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