[antlr-interest] How to generate code files for treeGrammarFileName.g?

cokey5614 at sina.com cokey5614 at sina.com
Sun Jul 27 22:36:26 PDT 2008


 Hi,
I created treeGrammarFileName.g file(it is started with [tree grammar fileName]) and treeGrammarFileNameWalker.testSuite file in source folder, and then
tried the command :
    org.antlr.gunit.Interp treeGrammarFileNameWalker.testSuite
but,error{
    java.lang.ClassNOtFoundException:treeGrammarFileNameLexer
    at java.net.URLClassLoader$1.run(Unknown Source)
} always happen.
in fact, in source folder, there are only treeGrammarFileName.java and treeGrammarFileName.class , 
there is no treeGrammarFileNameLexer.java file.
but, It seems that treeGrammarFileNameLexer.java and treeGrammarFileNameParser.java are necessary too.
Q:How to generate [ treeGrammarFileNameLexer.java and treeGrammarFileNameParser.java] code files for treeGrammarFileName.g?

thanks 
                          cokey

-------------------------------------------------------------------
注册新浪2G免费邮箱(http://mail.sina.com.cn/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080728/4d9ef474/attachment.html 


More information about the antlr-interest mailing list