Would someone mind giving me a quick definition of a hashmap as it relates
to Antlr?
Also, what is an example of a function of a hashmap? Thanks.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~
Does anyone know what the error "syntax error: invalid char literal" means?
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock Holmes from Sir Arthur Conan Doyle's The Sign of Four.
I AM an information warrior...
--~--~-
Chap 3, page 45:
There is a snippet of code that reads:
prog: stat+
stat: expr NEWLINE
| ID '=' expr NEWLINE
| NEWLINE
;
If I attempt to make a small grammar to test this, like the following:
Grammar P;
prog: stat+
stat: expr NEWLINE
| ID '=' expr NEWLINE
|
have access to a professor, TA, or even a book to gain an
understanding of the basics?
----- Original Message
From: Bryan S Follins
To: John B. Brodie
Cc: antlr-inter...@antlr.org
Sent: Sunday, July 19, 2009 1:10:11 PM
Subject: [antlr-interest] Can never be matched
I'm almost done w
I'm almost done with a lesson grammar but I ran into a problem I get an
error referencing the TOKEN RULE, which is on Line 17 (TOKEN : ID) It also
references Line 20, where there is a blank before SEPERATOR.
The error reads: error (line)20.1: groupassign.g(file name) (line)17:8: The
follow
after all.
And, what type of student wants to bypass the learning process?? I
understand there are some, but it's not me.
Bryan
-Original Message-
From: Loring Craymer [mailto:lgcray...@yahoo.com]
Sent: Friday, July 17, 2009 18:08
To: Bryan S Follins; Dave Dutcher; antlr-interest
Su
. I
am not going to get on this site to ask someone to do my homework problems.
I am actually trying to learn something. I am sorry if I disturbed the
computer gods.
-Original Message-
From: Dave Dutcher [mailto:d...@tridecap.com]
Sent: Friday, July 17, 2009 08:21
To: 'Bryan S Fo
Tom,
How can I add a rule to the code below which would allow me to enter a
number (like a zip code?)
I can already enter letters.
OK...The following is ANTLR Code
grammar T;
r : 'call' ID ';' {System.out.println("invoke "+$ID.text);};
ID: 'a'..'z'+;
WS
Is anyone out there?
-Original Message-
From: Bryan S Follins [mailto:as...@mindspring.com]
Sent: Thursday, July 16, 2009 17:43
To: 'Bryan S Follins'; 'antlr-interest'
Subject: RE: [antlr-interest] Getting the hang of this
Or in other words, how can I add a rule to
Or in other words, how can I add a rule to the code below which would allow
me to enter a number (like a zip code?)
-Original Message-
From: antlr-interest-boun...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Bryan S Follins
Sent: Thursday, July 16, 2009 16:22
To
Does anyone know of a site where I can go to get some practice on coding in
the ANTLRWorks GUI?
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock Holmes from Sir Arthur Conan Doyle's The Sign of Four.
I AM an information warrior.
OK...The following is ANTLR Code
grammar T;
r : 'call' ID ';' {System.out.println("invoke "+$ID.text);};
ID : 'a'..'z'+;
WS : (' ' | '\n' | '\r')+ {$channel=HIDDEN;};
Lets say, in addition, I wanted to add some code that also give me a
numerical password, h
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
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...@a
__
[15:24:06] TParser g = new TParser(tokens, 49100, null);
[15:24:06] ^
[15:24:06] C:\Documents and Settings\Owner\My
Documents\5135\Summer5135\output\__Test__.java:12: cannot find symbol
[15:24:06] symbol : class TParser
[15:24:06] location: class __Test__
[15:24:06]
aylor.edu]
Sent: Tuesday, July 14, 2009 15:09
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:00 PM, Bryan S Follins wrote:
Found my generation error. I was using () instead of {} for the java code.
Ge
@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Bryan S Follins
Sent: Tuesday, July 14, 2009 14:10
To: antlr-inter...@antlr.org
Subject: [antlr-interest] Simple code with a simple problem
I tried creating a simple grammar in ANTLR Works as follows:
gramma
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
Hello All,
Can ANTLRWorks be configured to work with Python?
Can I upgrade from ANTLRWorks 2.77 to 3.0 without having to reconfigure my
computer? I have WinXP 2003 Home Edition.
As a beginning programmer, how would I use ANTLR or ANTLRWorks? Where would
I most likey come into contact with ANT
I am a grad student taking a programming languages class in which I use
ANTLRWorks. How, as a novice, would ANTLRWorks affect me in day to day
life??
Bryan
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock Holmes from Sir Arthur
I have WinXP 2003 Home edition. I already have ANTLRWorks 2.77 on my
computer with appropriate classpaths. Can I upload 3.0 to my computer
without making any major reconfigurations?
Bryan
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
Can ANTLRWorks be configured to use Python?
Bryan
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock Holmes from Sir Arthur Conan Doyle's The Sign of Four.
I AM an information warrior...
--~--~-~--~~~
for this
from your department?"
That is the $64,000 question, because there is no support. You have to play
email tag with your teacher for help.
-Original Message-
From: Sam Barnett-Cormack [mailto:s.barnett-corm...@lancaster.ac.uk]
Sent: Sunday, June 14, 2009 06:21
To: Bryan S Fol
I downloaded ANTLRv 3.1.3 on my computer. I have XP, 2003. I downloaded the
jar file, clicked to open it, but it would not open.
What am I doing wrong?
Bryan
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock Holmes from Sir
I'm sorry if my question was not clear. To make a long story short, can I
use ANTLR 3.1.3 in WindowsXP Home edition? If so, how do I go about
downloading it? I know I can use ANTLRWorks with XP.
Bryan
"When you have eliminated the impossible, whatever remains, however
improbable, must
Hello All,
I am taking a class where I have to use ANTLR and ANTLRWorks. Since the
ANTLR software package is in a jar file, I need a Linux OS to download and
install it, right?
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth."
--Sherlock H
I figured it out. Thanks all.
-Original Message-
From: Gavin Lambert [mailto:an...@mirality.co.nz]
Sent: Sunday, May 24, 2009 11:49
To: Bryan S Follins
Cc: antlr-inter...@antlr.org
Subject: RE: [antlr-interest] Hello All--Problems with ANTLR Works
At 06:36 25/05/2009, Bryan S Follins
Gavin,
Thanks for the response. I am pretty sure I have JDK installed. How do I set
my path to the Java compiler in the ANTLR settings.
-Original Message-
From: Gavin Lambert [mailto:an...@mirality.co.nz]
Sent: Sunday, May 24, 2009 11:49
To: Bryan S Follins
Cc: antlr-inter...@antlr.org
I am in a class using ANTLR Works. My operating system is Windows XP Home
edition. I tried creating a simple grammar file and I was able to generate
the code.
grammar T;
/**match things like "call foo;"*/
r : 'call' ID ';' {System.out.println("invoke" +
$ID.text);
29 matches
Mail list logo