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 6232 - 6261 of 14630   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
6232 toltec_spb Send Email Sep 8, 2002
10:13 pm
I need to execute while loop, the parser rule is: while_ : WHILE^ LPAREN expression RPAREN DO (statement)* END ; my tree walker rules: while_ [bool OK] { ...
6233 John D. Mitchell
johnm-antlr@... Send Email
Sep 9, 2002
5:06 am
... [...] ... To be clear, Java v1.4 supports a number of I/O improvements in the "nio" (New I/O) package (such as memory-mapped files). Those changes have...
6234 Terence Parr
parrt2000 Send Email
Sep 9, 2002
5:59 am
... Ouch. Dang! I'll look at the API, but this is something we could use by making a new constructor on the lexer to take a different kind o stream, right? ...
6235 Reid Rivenburgh
reidr Send Email
Sep 9, 2002
6:52 am
(Apologies again for taking so long to followup. I've been trying to read up on these things and avoid asking for help again, but I don't quite have my head...
6236 John D. Mitchell
johnm-antlr@... Send Email
Sep 9, 2002
6:52 pm
... [...] ... Depends. The memory mapped file channel stuff would definitely be nice to support. You should also check out the new Character Sequence stuff...
6237 fmateoc Send Email Sep 9, 2002
11:56 pm
Hi, I am a newbie here and I would like to ask for your advice: I want to build a C to Java translator, one that would generate Java source as close as...
6238 Terence Parr
parrt2000 Send Email
Sep 10, 2002
3:57 am
Folks, FYI, I'll be teaching a graduate language course at the University of San Francisco next semester (Spring 2003) in case anybody in the area wants to...
6239 Matt Benson
gudnabrsam Send Email
Sep 10, 2002
9:34 pm
I believe I begin to understand. Accounting for comments in the Java grammar, for example, would necessitate liberally sprinkling the tokens throughout the...
6240 Kevin "MiNdCRY&q...
mindcry2k Send Email
Sep 11, 2002
9:24 am
Hi, after using flex/bison for months (if not years), i thought it's time to get used to a more modern lexer/parser :-) actually i am playing around with antlr...
6241 John Allen Green
johnallengreen Send Email
Sep 11, 2002
10:57 am
Oops, thought of another way, which might be more what you are looking for, since you mentioned syntactic predicates. Leave the semantic checks within name_a...
6242 John Allen Green
johnallengreen Send Email
Sep 11, 2002
11:00 am
Hi Kevin, I'll try answering, but hopefully the experts will check my work. :-) I think you are trying to do things in an LR kind of way that won't work with...
6243 Kevin "MiNdCRY&q...
mindcry2k Send Email
Sep 11, 2002
11:07 am
ah thanks, this seem to work, man why i didn't think about this :-) thanks!! but still, it would be even better if i just could use it like name_a without...
6244 John Allen Green
johnallengreen Send Email
Sep 11, 2002
11:12 am
Antlr has a great feature called a "hidden token filter". You let the whitespace go through as tokens from your lexer, and then the filter decides what tokens...
6245 John Allen Green
johnallengreen Send Email
Sep 11, 2002
11:12 am
You might search the Antlr archives for requests for "hoisting";. It's probably what you have in mind, and no, Antlr doesn't do it (yet). Actually, I think...
6246 Matt Benson
gudnabrsam Send Email
Sep 11, 2002
1:30 pm
This looks very helpful, plus, for some reason, I have never been to this articles page! This may have been helpful all along! doh! Thanks, Matt ... ...
6247 Mark Johnson
MFJohnson98 Send Email
Sep 12, 2002
2:40 am
While you are considering constructors how about adding a constructor which accepts either a string or a byte array? This would save me from having to convert...
6248 Hensley, Richard
richardhensl... Send Email
Sep 12, 2002
8:17 pm
I have an interesting parsing problem. I want dig certain context free constructs out of a file, while ignoring all the other constructs in the file. My...
6249 mzukowski@...
montyzukowski Send Email
Sep 12, 2002
8:20 pm
Check out a similar problem/solution at http://www.codetransform.com/filterexample.html I use a parser to find particular constructs and pass the rest on. Or,...
6250 lgcraymer Send Email Sep 12, 2002
8:52 pm
Richard-- A brute force method would be to change your top-level definition to input: ( "create" ((table)=> table)? ... )* EOF ; with table being your...
6251 richardhensley99
richardhensl... Send Email
Sep 12, 2002
11:09 pm
I have a question about syntax predicates because I think I found a bug. I have the following grammar snippet startRule ... )* EOF ; createView ... ; ...
6252 richardhensley99
richardhensl... Send Email
Sep 12, 2002
11:26 pm
I see the following code generated in my Parser classes: private static final long[] mk_tokenSet_0() { long[] data = { 32754L, 0L, 0L, 0L }; return data; } ...
6253 lgcraymer Send Email Sep 12, 2002
11:48 pm
Yeah, there's a synpred bug in 2.7--synpreds only work if they reference a single rule or token. I pointed this out to Ter a few months back, so it's probably...
6254 Hensley, Richard
richardhensl... Send Email
Sep 12, 2002
11:54 pm
Thanks for the response, now I know I'm not going nuts. I'm using the suggestion that you gave in an earlier e-mail for how to pick the blocks I wanted out of...
6255 Ric Klaren
izniegoed Send Email
Sep 13, 2002
8:28 am
Hi, ... antlr -diagnostic <yourgrammarfile> Should give you those I think (in a text file) Or alternatively you can turn on C++ codegen, ok it makes no sense...
6256 Hensley, Richard
richardhensl... Send Email
Sep 13, 2002
3:32 pm
Rick, Thanks for the tip about token sets. I'm using 2.7.2a2, and I found the syntax predicate bug, so I don't think the fix is there. Richard ... From: Ric...
6257 Terence Parr
parrt2000 Send Email
Sep 13, 2002
4:54 pm
... Syn preds only work on more than one alt (>1 alt implies a decision); not sure what you referring to with the single rule/token thing. But in this case,...
6258 shyamgopale Send Email Sep 14, 2002
7:09 pm
Hi, I am in the process of writing a parser for Python using antlr for a project. I have handled most of the Python grammar but am having problems specifying...
6259 John B. Brodie
jbb@... Send Email
Sep 14, 2002
9:54 pm
Shayam asked about transforming the following grammar fragment from the definition of Python for use in Antlr: /* Start of Grammar */ primary : atom |...
6260 Terence Parr
parrt2000 Send Email
Sep 15, 2002
3:20 am
... Just fixed in latest 2.7.2a3; no longer generates the unnecessary loop. ... Added the Ctor back in that didn't ask for column. ... I have asked Ric what he...
6261 Terence Parr
parrt2000 Send Email
Sep 15, 2002
3:55 am
... The code below is correct. ANTLR is being smart and putting in a quick sanity check before doing the backtrack. ANTLR checks that the lookahead is...
Messages 6232 - 6261 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