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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 9525 - 9554 of 14630   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
9525 hitesh khamesra
hiteshk25 Send Email
Oct 1, 2003
8:53 am
Hi, How to get line number, which says token of AST node belong to that line. with regards, Hitesh. __________________________________ Do you Yahoo!? The New...
9526 Ric Klaren
izniegoed Send Email
Oct 1, 2003
10:10 am
... In java this should work in C++ I just now see that something wasn't ported over from java mode. If the exception is generated by the match method of the...
9527 dkirmse Send Email Oct 1, 2003
10:49 am
Hi, did anyone try to use ANTLR for the current XPath 2.0 grammar? Did it work? Or has it to be transformed to an LL(k) grammar first? If the later is true: Is...
9528 jagad
jagad@... Send Email
Oct 1, 2003
1:20 pm
Hi All, I have simple parser like this one; //***** Parser ***** class MyParser extends Parser; goal : exprList SEMI EOF; exprList : expr (COMMA expr);...
9529 mzukowski@...
montyzukowski Send Email
Oct 1, 2003
1:28 pm
Perhaps you are never sending EOF. Is the input a file or from the command line? Try it from a file. Monty ... From: jagad [mailto:jagad@...] Sent:...
9530 jagad
jagad@... Send Email
Oct 1, 2003
1:33 pm
The declaration: exprList : expr (COMMA expr); should be exprList : expr (COMMA expr)*; and my problem still exist, anybody could give me the ligth? TIA ...
9531 jagad
jagad@... Send Email
Oct 1, 2003
1:41 pm
Hi Monty, Thanks for your fast response. BTW, the parser still stuck even I use the file as input. When I try with input: (1+2),(1+3); NUM_INT term PLUS ...
9532 mzukowski@...
montyzukowski Send Email
Oct 1, 2003
1:43 pm
Run antlr.Tool with -traceParser and then run your parser again and see what it is doing. Take a look at the generated source code, it's pretty easy to read...
9533 jagad
jagad@... Send Email
Oct 1, 2003
1:54 pm
I use -parserTrace and try input: (1+2),(1+3); ... ( ... NUM_INT < factor; LA(1)==+ term < term; LA(1)==+ ... PLUS < addOp; LA(1)==2 ... NUM_INT < factor;...
9534 Ric Klaren
izniegoed Send Email
Oct 1, 2003
1:58 pm
... Hmmm you are calling the goal rule I hope? And not MyParser.expr() ? Or did you cut out the traces for goal and exprList ? Cheers, Ric -- ... Before they...
9535 jagad
jagad@... Send Email
Oct 1, 2003
2:14 pm
Hi Ric, Yes, I call MyParser.expr() and No, I don't cut out, the whole result it's just like I sent. Here my snippet: #include "parser/MyParserLexer.hpp" ...
9536 mzukowski@...
montyzukowski Send Email
Oct 1, 2003
2:16 pm
See that parser.expr()? That's where you are calling the expr rule at the top level. Sounds like you really want to be calling parser.goal(). Good catch,...
9537 jagad
jagad@... Send Email
Oct 1, 2003
2:19 pm
Gotcha! :) I use "expr" at my xxx.g file! Thanks Monty, I'll fixed it and see how it goes Best Regards jagad...
9538 jagad
jagad@... Send Email
Oct 1, 2003
2:23 pm
Hi Monty and Ric, Thanks, now I realize that I should call goal() :) The problem is gone :) everything is works. Best Kindest Regards jagad...
9539 jagad
jagad@... Send Email
Oct 1, 2003
4:51 pm
Hi All, I have lexer with conflicting declaration like this: MOD : "MOD" IDENT : ('a'..'z&#39; | 'A'..'Z&#39;) ('a'..'z&#39; | 'A'..'Z&#39; | '0'..'9&#39;)* How to solve the...
9540 Suma Venkatesh
sumav_99 Send Email
Oct 1, 2003
5:01 pm
Hi, Iam looking for parsing which can parse an input java source code.I mean the parser should read the source code and identify the variable names and types...
9541 mzukowski@...
montyzukowski Send Email
Oct 1, 2003
5:45 pm
Look in the documentation about literals. Monty ... From: jagad [mailto:jagad@...] Sent: Wednesday, October 01, 2003 10:02 AM To: ANTLR Milis Subject:...
9542 jagad
jagad@... Send Email
Oct 1, 2003
5:53 pm
Hi All, I've try with : tokens{ MOD = "MOD"; } IDENT : ('a'..'z&#39; | 'A'..'Z&#39;) ('a'..'z&#39; | 'A'..'Z&#39;|'0'..&#39;9')* it seems okay. Then I try with another...
9543 jagad
jagad@... Send Email
Oct 1, 2003
6:08 pm
Hi Again Monty, Yes, it documented in Literal section. My declaration should be: options{ k=3} <--- this is the key :) tokens{ MOD = "MOD"; } IDENT :...
9544 Arnar Birgisson
arnarbi Send Email
Oct 1, 2003
6:20 pm
ANTLR resolves this for you automatically by putting all string literals in the parser and lexer definitions (such as "MOD" in this case) in to a special...
9545 Terence Parr
parrt2000 Send Email
Oct 1, 2003
6:33 pm
See the cross referencing headstart in the file sharing area. Terence ... -- Professor Comp. Sci., University of San Francisco Creator, ANTLR Parser Generator,...
9546 Suma Venkatesh
sumav_99 Send Email
Oct 1, 2003
10:14 pm
Hi Terence, I did look into that already but can you please give me some tips on how to run it and use it to achieve my task.I mean read a java file parse it...
9547 Jim O'Connor
tiucsibgib Send Email
Oct 2, 2003
1:11 am
Hi Suma, I assume you can "Tool" a grammar using antlr. I assume you understand the role of the Main.java file in "running" the grammar. If you don't ...
9548 Arnar Birgisson
arnarbi Send Email
Oct 2, 2003
3:50 pm
Hello there. I downloaded Ric's modified ANTLR 2.7.2, dated 2003-09-11, and am trying to compile the cpp runtime to a dll with MSVC 7.0. I followed the ...
9549 Arnar Birgisson
arnarbi Send Email
Oct 2, 2003
4:01 pm
I'm sorry, this was resolved as soon as I changed my projects compilation to use a Multithreaded DLL runtime. That left me with other problems, now, the "if...
9550 antlrlist Send Email Oct 2, 2003
5:05 pm
... Hi Hitesh! The key is this: in ANTLR, AST nodes are completely different from tokens. ASTs are (normally) instances of antlr.CommonAST, while tokens are...
9551 Arnar Birgisson
arnarbi Send Email
Oct 2, 2003
5:18 pm
Allright, I think I've found the source of that assert-failure. In my lexer, I have a rule for a keyword: STADVAER : "stašvęr"; The problem here seems to be...
9552 lgcraymer Send Email Oct 2, 2003
8:15 pm
... wrote: ... int, ... is ... tries to ... expected ... it ... This looks more like a signed versus unsigned character problem. As a signed "char", 0xf0 is...
9553 ilkerpasa135 Send Email Oct 2, 2003
11:17 pm
I'm new to antlr. And trying to learn antlr and prepare the grammar for TL1, a language used in North America for all Telecom equipment. Hence when I get it,...
9554 sarkar_soumen Send Email Oct 3, 2003
12:16 am
ANTLR C# runtime support, I have a bug/enhancement to report in ANTLR C# runtime class antlr272/antlr/CharScanner.cs I have developed a custom markup...
Messages 9525 - 9554 of 14630   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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