[il-antlr-interest: 25562] [antlr-interest] Language Design Patterns Section 12.5 Problem

2009-08-31 Thread Jan Nielsen
I'm not sure if this is the right forum to discuss a little problem I encountered in section 12.5 of Language Design Patterns (B6.0), but I'm sure this is the most likely spot for some help...I got the following: java -cp antlr-3.1.3.jar org.antlr.Tool Cymbol.g Gen.g warning(200): Cymbol.g:94

[il-antlr-interest: 25561] Just For Laughs Gags Nature Calls

2009-08-31 Thread arti arora
Hi, Indyarocks has sent you a link to a video "Just For Laughs Gags Nature Calls" and the following message: - Just For Laughs Gags Nature Calls Link: http://www.indyarocks.com/videos/videos_mail.php?vid=TVRRd01qTTBNamsx Have fun Your Team @Indyarocks *Please note:* This message was sent t

[il-antlr-interest: 25560] [_!_] Free useful articels for Important Software Applications [_!_] http://www.rabinath.weebly.com

2009-08-31 Thread yaalini ya
[_!_] Free useful articels for Important Software Applications [_!_] http://www.rabinath.weebly.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-a

[il-antlr-interest: 25559] ANIMALS PICS

2009-08-31 Thread Agha Qamber
BEST ANIMALS PICTURES IN THE WORLD MUST SEE !! http://alltypeofanimals.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@

[il-antlr-interest: 25558] ANIMALS PICS

2009-08-31 Thread Agha Qamber
BEST ANIMALS PICTURES IN THE WORLD MUST SEE !! http://alltypeofanimals.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@

[il-antlr-interest: 25557] Re: [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Terence Parr
cool. see you at the conference. I'm pretty sure I used to run -target jsr14 on the releases I made earlier. Neil Gafter, the javac guy, told me it works Ter On Aug 31, 2009, at 5:34 PM, Jim Idle wrote: > Pretty sure we can't even though genetics are eluded at the byte code > level. I will

[il-antlr-interest: 25556] Re: [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Jim Idle
Pretty sure we can't even though genetics are eluded at the byte code level. I will look at this definitively next week and we can decide what to do at the JVM language conference. Jim On Aug 31, 2009, at 7:14 PM, Terence Parr wrote: > Hi. can we do 1.5 javac with -target jsr14? > Ter > On

[il-antlr-interest: 25555] Re: [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Terence Parr
Hi. can we do 1.5 javac with -target jsr14? Ter On Aug 31, 2009, at 3:30 PM, Gordon Tyler wrote: > Thanks Steve, and Jim Idle who replied off-list. I guess I'll have > to stick to Antlr v2 until my project drops the JDK 1.4 requirement. > Messing around with retro-weaver sounds dubious and I

[il-antlr-interest: 25554] Re: [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Gordon Tyler
Thanks Steve, and Jim Idle who replied off-list. I guess I'll have to stick to Antlr v2 until my project drops the JDK 1.4 requirement. Messing around with retro-weaver sounds dubious and I need to restrict my third-party dependencies. -Original Message- From: Steve Ebersole [mailto:stev

[il-antlr-interest: 25553] Re: [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Steve Ebersole
I ran into the same issue when first looking at Antlr3. I was told the intention was to not have the Antlr runtime rely on JDK 1.5; but unfortunately some JDK 1.5 features ended up getting exposed. The outcome of my queries, iirc, was that it would just remain JDK 1.5 compatible. You could pro

[il-antlr-interest: 25552] [antlr-interest] Using Antlr v3 with JDK 1.4

2009-08-31 Thread Gordon Tyler
Is it possible to use the Antlr v3 runtime with JDK 1.4? I'm getting this error when compiling generated parser code using JDK 1.4, which indicates that the runtime is compiled with JDK 1.5: NewTransformLexer.java:11: cannot access org.antlr.runtime.Lexer bad class file: lib\antlr-runtime-3.1.3.

[il-antlr-interest: 25549] [antlr-interest] Multiple Lexers/Parsers

2009-08-31 Thread salmir
Hi, I'm writing a grammar which needs more than one lexer (token scope). I just found a document from ANTLR 2 documents which explains using "selector" for this purpose. Is this approach still valid for ANTLR 3? and should I make different files for different lexers? When there are

[il-antlr-interest: 25547] $$$$ " Earn money by single clicks very easy to earn " $$$$ http://www.rabinath.weebly.com

2009-08-31 Thread charvi de
" Earn money by single clicks very easy to earn " http://www.rabinath.weebly.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-int

[il-antlr-interest: 25546] Re: [antlr-interest] proplem with tokens value (C target)

2009-08-31 Thread Marco Trudel
As far as I understood (respectively experienced), tokText is not always set. You probably want to do this: char* tok_text = (token->getText(token) != NULL) ? token->getText(token)->chars : token->tokText.chars; At least that's what I'm doing to get the same result as token.toString() in Java.