... 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...
Hi. I'm having some trouble with syntactic predicates. I'll give some examples: // Standard look-ahead MINUS_OR_INT (MINUS ('0'..'939;))=> NEGATIVEINT {...
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 ...
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...
WORLD SUBMISSION CENTER Blast your site to 508,338+ Search Engines, Directories,Classifieds, Awards Sites, FFA's Free Every Weeks !! http://submit10000.com ...
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...
... 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 ...
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,...
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...
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...
... 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...
... bpos returns [int[] p] { p = null; } ... ; ... . In your proposal, the assignment of null happens inside the main try{} block, where javac [just as before]...
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...
Hi, When using importVocab, antlr will only search for the TokenTypes file in the current directory. If you used -o option to antlr, importing the generated...
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...
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...
Moin, moin, after I had some semi-hard times with literals, I'd like to report my experience: - if you put all you lexer and parser specifications into...
Jan Mikkelsen writes: ... You can generalize it even more: patents at all are a pretty questionable thing nowadays. 50 or 100 years ago, when techniques were...
Hello everybody, I have been trying to write an XPath parser in ANTLR and have come up against a problem with the generated parser. In the grammar below you...
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 in...
Folks, A couple of requests for ANTLR. If anyone has work-arounds or arguments why these things would be bad, I'd be mighty interested to hear. Could both the...
The following message is a courtesy copy of an article that has been posted to comp.compilers.tools.pccts as well. ... I'd suggest to put every lexer and every...
... the following is a copy of what I posted to the newsgroup I hope someone is able to at least give me an idea of what I can do ro tell me I can't do what I...