[il-antlr-interest: 26436] Re: [antlr-interest] How to overcome Lexer generation OutOfMemoryError?

2009-10-22 Thread Gordon Tyler
This may be a silly question, but have you tried increasing the -Xmx for the JVM? -Original Message- From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-boun...@antlr.org] On Behalf Of Robert Wentworth Sent: October 21, 2009 10:32 PM To: antlr-inter...@antlr.org Subject: [antl

[il-antlr-interest: 26087] Re: [antlr-interest] Out of Memory

2009-10-05 Thread Gordon Tyler
Bear in mind that the on-disk representation of a data structure is most likely more efficient than the in-memory representation. So if you intend to load the entirety of your 1GB file into memory, you will probably be using more than 1GB of memory. This can be a problem on Win32 systems where

[il-antlr-interest: 25997] Re: [antlr-interest] how to get the value of an identifier

2009-09-29 Thread Gordon Tyler
Try changing "ConstDef" to "constDef". You're declaring it as a lexer token (by using an uppercase first letter), when really it should be a parser rule. -Original Message- From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-boun...@antlr.org] On Behalf Of Thierry USO Sent: Se

[il-antlr-interest: 25909] Re: [antlr-interest] Question with greedy

2009-09-24 Thread Gordon Tyler
To exclude the /* and */ would something like this work? COMMENT : '/*'! ( options {greedy=false;} : . )* '*/'! ; -Original Message- From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-boun...@antlr.org] On Behalf Of Andreas Volz Sent: September 23, 2009 5:36

[il-antlr-interest: 25571] [antlr-interest] Token options in tokens section?

2009-09-01 Thread Gordon Tyler
.g:27:16: unexpected token: < Thanks, Gordon --- Gordon Tyler (Software Developer) Quest Software <http://www.quest.com/> 260 King Street East, Toronto, Ontario M5A 4L5, Canada Voice: (416) 933-5046 | Fax: (416) 933-5001 --~--~-~--~~~---~--~~ You receive

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

2009-09-01 Thread Gordon Tyler
am as FastQueue). Now it compiles successfully. Testing my parser... -Original Message- From: Martijn Reuvers [mailto:martijn.reuv...@gmail.com] Sent: September 1, 2009 9:26 AM To: Gordon Tyler Cc: Terence Parr; Jim Idle; antlr-inter...@antlr.org Subject: Re: [antlr-interest] Using Antlr v3

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

2009-09-01 Thread Gordon Tyler
From: Terence Parr [mailto:pa...@cs.usfca.edu] Sent: August 31, 2009 8:48 PM To: Jim Idle Cc: antlr-inter...@antlr.org; Gordon Tyler Subject: Re: [antlr-interest] Using Antlr v3 with JDK 1.4 cool. see you at the conference. I'm pretty sure I used to run -target jsr14 on the releases I ma

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

2009-08-31 Thread Gordon Tyler
rsole [mailto:steven.ebers...@gmail.com] On Behalf Of Steve Ebersole Sent: August 31, 2009 6:26 PM To: Gordon Tyler Cc: antlr-inter...@antlr.org Subject: Re: [antlr-interest] Using Antlr v3 with JDK 1.4 I ran into the same issue when first looking at Antlr3. I was told the intention was to not have the

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

2009-08-31 Thread Gordon Tyler
3.1.3.jar(org/antlr/runtime/Lexer.class) class file has wrong version 49.0, should be 48.0 Is it just a matter of a recompile of the runtime or does the runtime use Java 5 features? Thanks, Gordon --- Gordon Tyler (Software Developer) Quest Software <http://www.quest.com/> 260 King