... Ok. Thanks. Too bad, since I could really use this functionality. Limiting the outcome of a lexer lookahead to one token seems a bit odd, but I'm no expert...
1463
Michael Schmitt
schmitt@...
Mar 13, 2000 11:11 am
... Hmm. As far as I understand ANTLR, there is no elegant way to describe this. However, I think that it is not a good idea to distinguish between IDs and...
1462
Per Einarsson
perei238@...
Mar 13, 2000 10:34 am
Hi. I'm having some trouble with syntactic predicates. I'll give some examples: // Standard look-ahead MINUS_OR_INT (MINUS ('0'..'939;))=> NEGATIVEINT {...
1461
Jürgen Zimmermann
jnzimmer@...
Mar 8, 2000 4:35 pm
Hello, I wonder if anyone tried to load lexers/parsers on the fly (in Java) with ANTLR. The following might be an example for input to the main parser: MAIN ...
1460
luke.evans@...
Mar 7, 2000 10:45 pm
Hi, I've just tried a semantic predicate. It works exactly as expected in terms of it's effect on the recognition, but the error when it fails isn't what I'd...
1459
Terence Parr
parrt@...
Mar 7, 2000 7:10 pm
... Wow! Can't believe nobody else saw this! Thanks...fixed. Ter -- Chief Scientist, http://www.jGuru.com -- Your Java Portal Co-Founder,...
1458
508.338 Search Engine...
submission@...
Mar 7, 2000 7:04 pm
WORLD SUBMISSION CENTER Blast your site to 508,338+ Search Engines, Directories,Classifieds, Awards Sites, FFA's Free Every Weeks !! http://submit10000.com ...
1457
Stefan Alfredsson
stefan@...
Mar 7, 2000 1:56 pm
Hi, I want to put my identifiers in my symboltable in the lexical scanning phase, so I use this; ID options { testLiterals = true; } ... ; However, this...
1456
508.338 Search Engine...
submit10000@...
Mar 7, 2000 7:38 am
WORLD SUBMISSION CENTER Blast your site to 508,338+ Search Engines, Directories,Classifieds, Awards Sites, FFA's Free Every Weeks !! http://submit10000.com ...
... Tennis, Here is the technique that I use. It's not particularly elegant, but it works! Insert the following into the options of the tree parser ...
1453
Jim Jackl-Mochel
jmochel@...
Mar 6, 2000 12:00 pm
I have a macro processor that I am writing using ANTLR. I had the parser working for simple situations but the grammar was getting Baroque so I refactored the...
1452
WORLD SUBMISSION CENTER
horloges@...
Mar 6, 2000 8:39 am
WORLD SUBMISSION CENTER Blast your site to 508,338+ Search Engines, Directories,Classifieds, Awards Sites, FFA's Free Every Weeks !! http://submit10000.com ...
1451
Jon Schewe
jpschewe@...
Mar 6, 2000 1:28 am
I know this is nondeterministic as it's written, but I'm looking for a way to get antlr to handle it correctly. I want to be able to parse something like this,...
1450
WORLD SUBMISSION CENTER
horloges@...
Mar 5, 2000 4:56 pm
WORLD SUBMISSION CENTER Blast your site to 508,338+ Search Engines, Directories,Classifieds, Awards Sites, FFA's Free Every Weeks !! http://submit10000.com ...
1449
Tennis Smith
tennis@...
Mar 4, 2000 1:42 am
Hi, I've built an executable made from C++ files created by ANTLR. Right now, I'm getting the following message when I try using the executable: "Mismatched...
1448
Markus Pilzecker
mp@...
Mar 3, 2000 11:31 am
... I have some experience, which is not identical, but very near to. I automatically generated a printing tree parser out of the corresponding parser. I did...
1447
Michael Schmitt
schmitt@...
Mar 3, 2000 11:02 am
Hello, has anybody ever considered the automatic computation of syntactic predicates? I don't know whether it is possible to do this in general. When I added...
1446
Jerry Patterson
jerpat@...
Mar 3, 2000 2:56 am
... Hello there, I'm new to grammars and I was wondering if anyone could help me out. Recently I downloaded a copy of antlr. I would like to create a grammar...
1445
Jerry Patterson
jerpat@...
Mar 3, 2000 2:36 am
... [snip] ... bpos returns [int[] p] { p = null; } ... ; ... . In your proposal, the assignment of null happens inside the main try{} block, where javac [just...
1444
John Fremlin
vii@...
Mar 2, 2000 6:22 pm
This combination is somewhat toxic. The Klasses.jar from the Kaffe VM contains ANTLR classes from a previous version (it uses ANTLR internally), which are...
1443
Markus Pilzecker
mp@...
Mar 2, 2000 12:23 pm
... bpos returns [int[] p] { p = null; } ... ; ... . In your proposal, the assignment of null happens inside the main try{} block, where javac [just as before]...
1442
Jerry Patterson
jerpat@...
Mar 2, 2000 3:12 am
Markus, ... From: Markus Pilzecker <mp@...> For grammar rules like ... epos returns [int[] p] ... ; ... antlr [version 2.7.0] generates something like ... ...
1441
Jan Mikkelsen
janm@...
Mar 2, 2000 1:20 am
... working, ... ``knows'', ... [ proposal to implement dependency generation for antlr snipped ] I think these issues are related, but different. A C source...
1440
Markus Pilzecker
mp@...
Mar 2, 2000 12:01 am
For grammar rules like ... epos returns [int[] p] ... ; ... antlr [version 2.7.0] generates something like ... public final int[] epos() throws...
1439
Tom Moog
tmoog@...
Mar 1, 2000 7:15 pm
Can you selectively turn off/on the checking in your tool ? If so, you could alter the routine which emits the user defined actions to put a /* lint off */ and...
1438
Tennis Smith
tennis@...
Mar 1, 2000 6:57 pm
Hi Gary, Thanks for the quick reply. You're correct in that I could run FL against the files generated by ANTLR, but what I get is the warnings for ALL the...
1437
Gary Schaps
gary_schaps@...
Mar 1, 2000 6:46 pm
Tennis- Can't you accomplish what you want by using FlexeLint on the parser and lexer classes generated by ANTLR? -gls ... [This message contained attachments]...
1436
Tennis Smith
tennis@...
Mar 1, 2000 6:09 pm
Hi, Below is a resend of an email sent to Mr. Parr. Anyone else have any input?? ... .:|||||||:..:|||||||:. Phone: (408) 527-4424 Fax: (408) 527-6245...
1435
Markus Pilzecker
mp@...
Mar 1, 2000 1:47 pm
... I'd like to adopt a somehow reverted viewpoint: In the world of programming environments, we are used to a kind of working, where a file ``knows'', what it...