Hi, I am trying to write a directx .X file parser using antlr. 1. I am using antlr 2.7.2 with GCC 3.x on MinGW. I am getting multiple inheritance errors when I...
Hello, With the idea of refactoring showing up in other areas of software - we have code refactoring, data refactoring etc - I was wondering if we can think of...
Hello all, After several hours of sackcloth and ashes, I have realized that it is an existing bug that ANTLR doesn't work with STLPort. I really want to...
Hi, First of all, thanks to Gary for your earlier reply. Now during the "make" I am seeing compilation errors. I am running make on SunOS5.7. I have seen links...
I don't know if it's really complicated, but can't figure it out. Basically I'm writing parser for a language called cold fusion. It's like HTML with embeded...
Is it better to increase the look ahead or is it better use semantic predicates? Example: options { ... k = 2; } ... someRule ... ; or is it better to do: ...
Hi, I followed a tutorial, "How to get started with Antlr and VC++ 6.0." at http://www.imada.sdu.dk/~morling/issue1.htm to make Antlr working with VC6. I...
Hi all, I'm new to anlr and I am trying to serialize my AST in XML. The AST is constructed correctly but I really don't like the "look" of the XML generated by...
Thanks to Oliver Kellogg, we have an updated Ada grammar. Check out: http://www.antlr.org/grammars/ada Terence -- Co-founder, http://www.jguru.com Creator,...
Hello Dr. Parr, I found a, well, maybe not really a bug, more of a cosmetic issue, but anyway. The following lexer rule (taken from the Java grammar) <pre> WS...
I wrote a lexer and a parser. Now my problem is how do I get the parsed tokens stored (for further processing) ? My parser looks like: entry: ( (insrd dest...
Hi, I am new to ANTLR. I am seeing some installation problems with the download that I did today. (This same problem was also seen by someone else on google...
I am in a similar boat. I've built a lexer and a parser. Furthermore, I have used the AST generation directives to create an AST that has the information I...
I'm trying to bring up a small compiler front end which I just moved from Windows (works) to Linux (breaks). The problem is undefined references. main.cpp ......
Is there an Eclipse plugin for the new Antlr 2.7.2 release? The latest release of the plugin I can find is org.antlr_2.7.2_03.zip which seems to be for Antlr...
I am looking for some help on the ANTLR grammer I have a piece of grammer, could you please tell me which ANTLR version it refers to, also could you please...
hi, is it normal for a non determinism warning to occur even if syntactic predicates are used ? eg : rule : ( ID ID ) => ID ID { .. } ... ( ID INT ) => ID INT...
I've been struggling to understand how to use element labels within the
parser. What I am trying to do is:
rule : "some_literal1" id:ID "some_literal2" // ID...
I've been unsuccessfully trying to find an answer to a question about XML Schema based parser generators. Since a number of people in the ANTLR community are...
Hi Guys , I m new to this group , i want under stand the functionality of antlr .Can u suggest some examples where i can find.I m already downloaded...
Hi, Any ideas on how to create a Parser instance and use it to parse a few tokens at a time from a TokenStream repeatedly. Obviously there wouldn't be an EOF...
I am attempting to use an ANTLR parser to build an AST in which all the nodes are essentially anchors for imposing some structure on the input list of Tokens. ...
Hello all, Could anyone please help me with some nondeterminism errors? Thanks in advance! /******** fraction of parser *********************/ /**NOTE: Pls...
Hi Ram, Sorry, you did not hit the point. Explanation: 1. Initial point: We need to make a deep copy of the CommonAST nodes created in some rule. 2. We call...
I am using the java grammar to parse the JDK to generate a C++ parser. When I try to parser Character.java I stack overflow exception is thrown when using the...
I avoid syntactic predicates in my tree parser by rearranging my tree and using imaginary node types when appropriate. You should not need a rule like this: ...