[il-antlr-interest: 25018] [antlr-interest] Hashmaps

2009-08-04 Thread Bryan S Follins
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 --~

[il-antlr-interest: 24819] [antlr-interest] Invalid char literal

2009-07-22 Thread Bryan S Follins
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... --~--~-

[il-antlr-interest: 24814] [antlr-interest] A question on Mr. Parr's book--Page 45

2009-07-22 Thread Bryan S Follins
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 |

[il-antlr-interest: 24758] Re: [antlr-interest] Can never be matched

2009-07-19 Thread Bryan S Follins
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

[il-antlr-interest: 24753] [antlr-interest] Can never be matched

2009-07-19 Thread Bryan S Follins
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

[il-antlr-interest: 24727] Re: [antlr-interest] Getting the hang of this

2009-07-17 Thread Bryan S Follins
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

[il-antlr-interest: 24723] Re: [antlr-interest] Getting the hang of this

2009-07-17 Thread Bryan S Follins
. 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

[il-antlr-interest: 24714] [antlr-interest] Tom, a question

2009-07-16 Thread Bryan S Follins
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

[il-antlr-interest: 24711] Re: [antlr-interest] Getting the hang of this

2009-07-16 Thread Bryan S Follins
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

[il-antlr-interest: 24709] Re: [antlr-interest] Getting the hang of this

2009-07-16 Thread Bryan S Follins
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

[il-antlr-interest: 24708] [antlr-interest] ANTLRWorks GUI

2009-07-16 Thread Bryan S Follins
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.

[il-antlr-interest: 24707] [antlr-interest] Getting the hang of this

2009-07-16 Thread Bryan S Follins
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

[il-antlr-interest: 24652] Re: [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
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

[il-antlr-interest: 24650] Re: [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
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

[il-antlr-interest: 24649] Re: [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
__ [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]

[il-antlr-interest: 24648] Re: [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
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

[il-antlr-interest: 24645] Re: [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
@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

[il-antlr-interest: 24644] [antlr-interest] Simple code with a simple problem

2009-07-14 Thread Bryan S Follins
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

[il-antlr-interest: 24568] [antlr-interest] Questions

2009-07-08 Thread Bryan S Follins
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

[il-antlr-interest: 24545] [antlr-interest] Novice

2009-07-07 Thread Bryan S Follins
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

[il-antlr-interest: 24544] [antlr-interest] ANTLRWorks 2.77 to 3.0

2009-07-07 Thread Bryan S Follins
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."

[il-antlr-interest: 24543] [antlr-interest] Python

2009-07-07 Thread Bryan S Follins
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... --~--~-~--~~~

[il-antlr-interest: 24213] Re: [antlr-interest] Anltr 3.1.3

2009-06-14 Thread Bryan S Follins
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

[il-antlr-interest: 24205] [antlr-interest] Anltr 3.1.3

2009-06-13 Thread Bryan S Follins
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

[il-antlr-interest: 24204] [antlr-interest] Clarification

2009-06-13 Thread Bryan S Follins
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

[il-antlr-interest: 24203] [antlr-interest] ANTLR Rookie Here

2009-06-13 Thread Bryan S Follins
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

[il-antlr-interest: 23879] Re: [antlr-interest] Hello All--Problems with ANTLR Works

2009-05-24 Thread Bryan S Follins
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

[il-antlr-interest: 23874] Re: [antlr-interest] Hello All--Problems with ANTLR Works

2009-05-24 Thread 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

[il-antlr-interest: 23872] [antlr-interest] Hello All--Problems with ANTLR Works

2009-05-24 Thread Bryan S Follins
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);