Changing the quotes on the println statement worked. Thanks a bunch Tom.
Bryan
From: Tom Nurkkala [mailto:tnurkk...@cse.taylor.edu]
Sent: Tuesday, July 14, 2009 16:00
To: Bryan S Follins
Cc: antlr-inter...@antlr.org
Subject: Re: [antlr-interest] Simple code with a simple problem
On Tue/14-Jul, at 5:17 PM, Bryan S Follins wrote:
> Tom,
> I tried that, I went to Debug. As a matter of fact I tried
> highlighting both the “text” and “file” radio buttons while using
> start rule “r” and it gave me an error “Compiler failed with result
> code 1.”
You need to change th
I have to go out for about 90 minutes, so if I don't answer, I'm not
ignoring anyone. I'm appreciating all the help I'm getting. Thanks.
From: Tom Nurkkala [mailto:tnurkk...@cse.taylor.edu]
Sent: Tuesday, July 14, 2009 15:09
To: Bryan S Follins
Cc: antlr-inter...@antlr.org
Subject: Re: [an
Pasted below is the error description I get when I look at the console after
getting "Compiler failed with result code 1."
C:\Documents and Settings\Owner\My
Documents\5135\Summer5135\output\TParser.java:84: unclosed character literal
[15:23:22] System.out.println('invoke
'+(ID1!=
Tom,
I tried that, I went to Debug. As a matter of fact I tried highlighting
both the "text" and "file" radio buttons while using start rule "r" and it
gave me an error "Compiler failed with result code 1."
From: Tom Nurkkala [mailto:tnurkk...@cse.taylor.edu]
Sent: Tuesday, July 14, 2009 1
On Tue/14-Jul, at 5:00 PM, Bryan S Follins wrote:Found my generation error. I was using () instead of {} for the java code. Generation is good. However, it still does not debug the code. When I run the debugger I get: “Compiler failed with result code 1.” Does anyone know that means?I copied y
are you sure that the file name is called T.g in AW?
T
On Jul 14, 2009, at 3:00 PM, Bryan S Follins wrote:
> Found my generation error. I was using () instead of {} for the
> java code. Generation is good. However, it still does not debug the
> code.
>
> When I run the debugger I get: “Co
Found my generation error. I was using () instead of {} for the java code.
Generation is good. However, it still does not debug the code.
When I run the debugger I get: "Compiler failed with result code 1." Does
anyone know that means?
From: antlr-interest-boun...@antlr.org
[mailto:
I tried creating a simple grammar in ANTLR Works as follows:
grammar T;
r : 'call' ID ';'
(System.out.println('invoke '+$ID.text););
ID: 'a'..'z'+;
WS : (' ' | '\n' | '\r')+ ($channel=HIDDEN;);
I got
Sorry for reposting, but I copied the wrong link,
http://www.antlr.org/grammar/1078018002577/python.tar.gz
Nikos
On Tue, Jul 14, 2009 at 5:57 PM, Nick Vlassopoulos
wrote:
> Hi Dmitiry,
>
> I am not sure if this is what you are looking for, but you might want to
> have a look
> on how the pyth
Hi Dmitiry,
I am not sure if this is what you are looking for, but you might want to
have a look
on how the python grammar handles identation.
See for example:
http://www.antlr.org/grammar/1200715779785/Python.g
Best Regards,
Nikos
On Tue, Jul 14, 2009 at 5:43 PM, Dmitiry Nagirnyak wrote:
>
Hi,
I am researching possibility to parse HAML syntax to port it to .NET. There
is project call NHAML but uses Regular Expressions instead of regular
parser.
While it is working great it has certain limitations.
So people start thinking about a real parser. And years ago I did some wotks
with ANT
12 matches
Mail list logo