[antlr-interest] A Problem Using VS2008

wws_ques at yahoo.com wws_ques at yahoo.com
Fri Sep 3 14:33:53 PDT 2010


I just followed the steps following "Debugging with ANTLRWorks" and I got an error when debugging the project. The error is that javac cannot find TestParser.java in the MSVS project directory. But why antlrwork looks for a java file instead of a cs file that is located in that directory. Something wrong with my steps. I did not set up the following step: 

2 Add an exception to the Windows Firewall (or other firewall) to grant 
network access to java.exe and javaw.exe.  By default these programs are
 installed to C:\program files (x86)\java\jre6\bin.

I really need some help to run the example in tutorial. Thanks a lot in advance.
Blueski

--- On Thu, 9/2/10, wws_ques at yahoo.com <wws_ques at yahoo.com> wrote:

From: wws_ques at yahoo.com <wws_ques at yahoo.com>
Subject: [antlr-interest] A Problem Using VS2008
To: antlr-interest at antlr.org
Date: Thursday, September 2, 2010, 4:28 PM

I tried to follow the following tutorial:  How do I make ANTLRWorks and Visual Studio work together? (CSharp as target language) at http://www.antlr.org/wiki/pages/viewpage.action?pageId=557075. 
After finishing all 12 steps under "Use ANTLR

from Visual Studio", how can I run the project. What I did is as follows:
In antlrworks, I switch to "Interpreter" and then choose CRLF for "Line Endings".
I type 2+3*4 in the left-hand side window. Last, I click on the arrow. I got the

following msg:

The interpreter does not run actions nor evaluate syntactic predicate.
Use the debugger if you want to use these Anltr features

I get confused about how to run the project.... Maybe someone should tell me step 13... Thanks.
Blueski



      

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



      


More information about the antlr-interest mailing list