... Ok. Cool! Ric -- ... Why don't we just invite them to dinner and massacre them all when they're drunk? You heard the man. There's seven hundred thousand of...
2865
Ric Klaren
klaren@...
Nov 17, 2000 12:17 am
Hi, ... It seems that this version of VC++ (I'm no VC expert btw) is build around the use of namespace std in any case. (_cplusplus is by standard defined if a...
2866
Ric Klaren
klaren@...
Nov 17, 2000 2:17 pm
Hi, ... Thanks for the info. I'll add this to the repository (as soon as it is up again). I plan to get rid of the automake/libtool junk for the next release....
2867
Anna Winkler
awinkler@...
Nov 17, 2000 6:23 pm
Hi, Is there a way to include #ifdefs in ANTLR *.g files in my C++ code? Thanks, Anna...
2868
Tran, Ann
atran@...
Nov 18, 2000 2:16 am
Hi, I have the following grammar that does digit parsing. I tried several cases and it seems to work fine except for this one: 22(,3,66 The correct result...
2869
mzukowski@...
Nov 18, 2000 2:06 pm
You have (ruleLiteral)+ in subrule. One alternative of ruleLiteral is "" (empty). You are looping forever matching nothing. I recommend removing the empty...
2870
Sinan Karasu
allahsiz@...
Nov 18, 2000 11:01 pm
[...] ... (ruleLiteral)+ means 1 or more of "nothing" or "empty" what you really want is subrule: LPAREN (ruleLiteral)* RPAREN ; ruleLiteral: DIGIT | COMMA ; ...
2871
Alexander Lenski
alenski@...
Nov 19, 2000 12:11 am
Hi, I would like to request additional 'virtualizing39; of the Parser's methods like it is done with the methods of the CharScanner. Rationale : I have a SWITCH...
2872
Ric Klaren
klaren@...
Nov 20, 2000 9:32 am
Hi, ... Is in the repository now. Cheers, Ric -- ... Why don't we just invite them to dinner and massacre them all when they're drunk? You heard the man....
2873
Ric Klaren
klaren@...
Nov 20, 2000 9:35 am
Hi, ... Hmmm I thought I had fixed that bug a while back. (At least if you see the # stripped of the if/endif/etc ?) Anyhow working on it =) Ric -- ... Why...
2874
Ric Klaren
klaren@...
Nov 20, 2000 2:58 pm
... I put up a new devel version at: http://wwwhome.cs.utwente.nl/~klaren/antlr/antlr-devel.tar.gz - This should fix this problem. - Also includes the extra...
2875
Jeroen Zwartepoorte
jeroen@...
Nov 21, 2000 3:46 pm
Hello, I've been playing around with Antlr for a while now, and i've recently started to use it for a real application. I'm using the Antlr Java grammer to get...
2876
Alexander Lenski
alenski@...
Nov 21, 2000 11:57 pm
Hi, Ric, thanks for positive acceptance of my previous requests. I have more, I would like to request some reduction of the InputBuffer and TokenBuffer class...
2877
Ramon Felciano
felciano@...
Nov 22, 2000 1:26 am
Hi -- I just downloaded 2.7.1 and noticed that the included Java grammar seems to have trouble if the very last linefeed is missing from a file. It throws a...
2878
stalnaker@...
Nov 22, 2000 1:57 am
I have a parser which will do simple programs and almost do complicated programs. I have a lex rule HEXDEVICE :'/' HEXDIGIT HEXDIGIT HEXDIGIT ; where hexdigit...
2879
Sinan
sinan.karasu@...
Nov 22, 2000 2:09 am
... Do not have a HEXDEVICE rule , instead have a hexdevice rule. hexdevice: DIV (...
2880
Sinan
sinan.karasu@...
Nov 22, 2000 2:18 am
... Ooops, pressed the wrong button and sent the previous message. Ignore it. But now that I did that. Might as well carry on a little. basically you want to...
2881
Ramon Felciano
felciano@...
Nov 22, 2000 3:25 am
Looks like this is related to the following rule: // Single-line comments SL_COMMENT ... (~('\n'|39;\r39;))* ('\n39;|'\r'('\n')?) {$setType(Token.SKIP); newline();} ...
2882
Ric Klaren
klaren@...
Nov 22, 2000 10:56 am
Hi, ... I'll probably have a closer look at it next week or so.. But as I browse past things this alternative looks ok to me. It's probably also a change that...
hi folks: how do i get the parser thorw all the exception thron while execution... i dont want to get a massage like "line 1: unexpected token: abcd" instead i...
2885
mzukowski@...
Nov 24, 2000 3:23 pm
override reportError() and reportWarning(). Monty...
2886
Alexander Lenski
alenski@...
Nov 25, 2000 1:48 am
... OK, I got a chance to push the things a little bit further. The 'past things' make minimum impact to the current code base. Now, I attached for your...
2887
Sinan Karasu
allahsiz@...
Nov 25, 2000 5:17 am
... override the error method to rethrow the exception. Sinan...
2888
Priyank RASTOGI
priyank@...
Nov 25, 2000 9:57 am
thanks sinan. i need to overwrite the method below in antlr.Parser public void reportError(RecognitionException ex) { System.err.println(ex); } so i have no...
2889
Matthew Ford
Matthew.Ford@...
Nov 25, 2000 11:28 pm
Here is what I do, hope it helps (sorry about the formatting the email seems to have lost the tabs) set this option in Antlr defaultErrorHandler = false; //...
2890
Alexander Lenski
alenski@...
Nov 27, 2000 2:26 am
Hi, Ric disregard my last message please ("OK,I got a chance..."). ... This is good enough for me. Thanks Alexander Lenski...
2891
gpd@...
Nov 27, 2000 10:11 am
Hi, i use antlr for the last 8 months but the problem that i have now is very strange. Let's be more specific. I have a very simple lexer and parser (in the...
2892
mzukowski@...
Nov 27, 2000 5:48 pm
You need some rule which has testLiterals=true. Currently your lexer has no rules at all! Something like the id rule in examples/java/java.g Monty...
2893
santa claus
disco_50@...
Nov 27, 2000 5:59 pm
Hi, Im working on a Interpreter for a subset of C/C++ and I need to do all interpretion while walking the AST. What im not sure is how to invoke the ANTLR...