Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

antlr-interest · ANTLR Interest List [moved]

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

... Coming from a flex background, I thought the "multiple lexer" solution sounded too complex until I started using it. It's actually quite simple. If your...
6 Aug 11, 2000
3:57 pm

M. Ranganathan
mranga@...
Send Email

I suggest you create a class or class hierarchy which does the "wrapping"; or "helper generation", create context based instances as you parse, and pass...
1 Aug 11, 2000
3:11 pm

Gary Schaps
gary_schaps@...
Send Email

Sigh, a newbie to ANTLR and compiler construction tools. I have a problem where I need to process a Java source file and generate some helper and wrapper...
1 Aug 11, 2000
2:24 pm

Raffi Norian
rnorian@...
Send Email

Hi, we have the following problem In the .g file in lexer we have a rule called NAME like this NAME : ALPHA ( ALPHA | DIGIT )*; ALPHA : 'a'..'z&#39; | 'A'..'Z&#39;; ...
4 Aug 11, 2000
8:04 am

Ric Klaren
klaren@...
Send Email

... Yes, istringstream is a subclass of std::istream....
5 Aug 9, 2000
4:42 pm

Doug Erickson
doug.erickson@...
Send Email

... I don't know of any problems, since switching was designed to happen in lexers. But I also haven't personally used switching much in my own code. Monty...
1 Aug 9, 2000
2:26 pm

mzukowski@...
Send Email

I am having a problem defining a Parser/Lexer combination that will allow me to detect custom tags in an HTML stream. The basic concept is, when a tag is...
3 Aug 9, 2000
2:17 pm

Millaway, John
john@...
Send Email

Hi! Since my upgrade from 2.7.0 to 2.7.1a3, I'm getting compiler errors on HPUX with aCC 3.13.3, like: Error 108: "CondWalker.hpp", line 22 # Line number in...
3 Aug 9, 2000
1:38 pm

ulrich.teichert@...
Send Email

... Yes, but the correct way is much easier. Create an istrstream and pass that to your lexer. Something like this: #include <strstream> string input("input to...
2 Aug 8, 2000
11:13 pm

Anna Winkler
awinkler@...
Send Email

Hi, I'm generating C++ code with ANTLR, and would like to parse from a C++ string instead of a file. Can I create my own constructor in my lexer to do that? ...
1 Aug 8, 2000
10:17 pm

Anna Winkler
awinkler@...
Send Email

Hi Ric and Terence, here comes another proposal for a feature that I would like to see in ANTLR 2.7.1: How about allowing the user to define default values for...
2 Aug 8, 2000
12:45 pm

Ric Klaren
klaren@...
Send Email

Here is my understanding - in this example, "TEST" gets converted to TEST by excluding the double quotes after which literal testing is performed using TEST...
1 Aug 7, 2000
6:22 pm

Case, Scott
scott.case@...
Send Email

Hello, the following grammar returns the error line 1: expecting STRING, found 'TEST' for the input TEST "TEST" If I don't exclude the '"&#39; in STRING, it works....
1 Aug 7, 2000
5:22 pm

Mike Hoefelein
mike@...
Send Email

Hello! I have an application where I am going to be running multiple antlr-generated interpreters for messages each in its own theread. I did a grep on the...
1 Aug 7, 2000
3:57 pm

M. Ranganathan
mranga@...
Send Email

Has anyone successfully used the new namespaceAntlr option that Ric added? It doesn't seem to work for me. John Lambert...
2 Aug 7, 2000
3:33 pm

Ric Klaren
klaren@...
Send Email

This rule will be broken up into a number of rules based on the precedences of the operators. In the examples directory, java.g is a good place to start...
2 Aug 7, 2000
2:53 pm

Bill King
ungod@...
Send Email

The 'README&#39; file says it exactly: In theory do: ... In practice, 'make' does not work correctly with Sun CC on Solaris. It uses flags like '-Wall&#39; which are...
2 Aug 7, 2000
1:37 pm

Ric Klaren
klaren@...
Send Email

heya to all, and sorry for jumping right in, but i'm currently stuck on a left factoring problem for a freeware project i'm working on, it's a scripting...
1 Aug 7, 2000
12:34 pm

Bill King
ungod@...
Send Email

This one should be easy.... I would like to put all my generated java code into a single package. The package statement has to appear at the top of the java...
2 Aug 2, 2000
9:22 pm

bob@...
Send Email

... A comment shouldn't mess up the java compiler. If so, file a bug report to the compiler creators. -John...
1 Aug 2, 2000
9:21 pm

Millaway, John
john@...
Send Email

Hello! I am utilizing multiple lexers in my program and switching between them. How do I determine which one is currently active from the parser? Thanks for...
1 Aug 2, 2000
3:30 pm

m. ranganathan
mranga@...
Send Email

... send 'em to this list and to me. C++ bugs will be direct to Ric Klaren or Peter Wells. Thanks, Ter -- Chief Scientist, http://www.jGuru.com -- Your Java...
2 Aug 1, 2000
8:15 pm

Geoff Hardy
ghardy@...
Send Email

Hello! I am constructing a parser where I need to skip over the input for sections of the input. I do this by defining a dummy lexer with a single rule that...
1 Aug 1, 2000
7:28 pm

m. ranganathan
mranga@...
Send Email

Yes, you need to call newline() whenever you end a line in your lexer, antlr doesn't do this automatically for you. Monty...
1 Aug 1, 2000
2:34 pm

mzukowski@...
Send Email

Hello! I am writing a parser using antlr 2.1.1a4 and I would like to report line numbers on error messages. However, the parser always seems to report "error...
1 Aug 1, 2000
2:32 pm

m. ranganathan
mranga@...
Send Email

Folks, Ric Klaren made a number of C++ output fixes for ANTLR and included the contributed MSVC++ build defs and such. He puts some makefiles in there as well...
3 Aug 1, 2000
5:57 am

Clint Olsen
olsenc@...
Send Email

Hello! I dont know if this is a bug or a specificiation! Here is the problem: Here is a trivial grammar: class fooParser extends Parser; bar returns [ String s...
1 Jul 31, 2000
10:45 pm

M. Ranganathan
mranga@...
Send Email

In the example java.g that comes with ANTLR, there is a comment in the statement rule about symbol tables. It notes that "ID DOT" is ambiguous at this point,...
1 Jul 31, 2000
4:22 pm

james@...
Send Email

Hello! I am working on a public domain (non-copyright) piece of code for which I am using antlr. For part of this project, I need an imbedded parser for mail...
1 Jul 31, 2000
2:53 pm

m. ranganathan
mranga@...
Send Email

Do take a look at my C/GCC parser on the antlr.org website. I suggest doing lots of little tests which print out the trees generated and inspect them ...
1 Jul 31, 2000
2:32 pm

mzukowski@...
Send Email
  Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help