Bryan--
Relax. People here are always willing to help, but intolerant of anyone who isn't interested in carrying their own weight. Anyone asking about toy problems is assumed to be a student looking to bypass the learning process. I suggest following Dave's advice on reading the tutorials, then asking again with a more challenging problem. I think that you will find this a much more responsive group. --Loring ----- Original Message ---- > From: Bryan S Follins <[email protected]> > To: Dave Dutcher <[email protected]>; antlr-interest > <[email protected]> > Sent: Friday, July 17, 2009 9:31:33 AM > Subject: Re: [antlr-interest] Getting the hang of this > > It sounds like you are wrong. This is a practice grammar that was given to > us in a lecture. It was not for a grade. It was for practice. What I am > trying to do is expound on teaching myself the grammar, or, in other words > teach myself. Look, as you may have already discovered, I am a beginner. 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:[email protected]] > Sent: Friday, July 17, 2009 08:21 > To: 'Bryan S Follins'; 'antlr-interest' > Subject: RE: [antlr-interest] Getting the hang of this > > > It sounds like you are trying to get somebody to answer your homework > questions for you. Have you even tried going to www.antlr.org and reading > the tutorials and docs? > > > Dave > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Bryan S Follins > > Sent: Friday, July 17, 2009 12:25 AM > > To: 'antlr-interest' > > Subject: Re: [antlr-interest] Getting the hang of this > > > > Is anyone out there? > > > > -----Original Message----- > > From: Bryan S Follins [mailto:[email protected]] > > 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 the code below > > which would allow me to enter a number (like a zip code?) > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Bryan S Follins > > Sent: Thursday, July 16, 2009 16:22 > > To: 'antlr-interest' > > Subject: [antlr-interest] Getting the hang of this > > > > > > 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, how would I do it? In other > > words, after entering text for a name to be compiled, what > > code could I use to let me enter a number in ANTLRWorks? > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: > > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: > > http://www.antlr.org/mailman/options/antlr-interest/your-email > > -address > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
