... I'll do it...sorry about that. They are generated files so I figured they weren't necessary. Ter ... -- Professor Comp. Sci., University of San Francisco...
10496
tirawireless
Jan 5, 2004 11:12 pm
Thanks! ... antlr.rog ... repost...
10497
lgcraymer
Jan 6, 2004 1:08 am
Henry-- There will be an ANTLR 2.8e0 ("e" for "experimental" in preparation for 3.0) release candidate out "soon". I have some more work to do, particularly...
10498
Pierre
pierre0042
Jan 6, 2004 5:11 am
... I did ./configure --enable-examples --enable-gcj and I have GNU Make 3.80 Regards, -- Pierre....
10499
Ric Klaren
izniegoed
Jan 6, 2004 7:46 am
... Hmmm looks like something changed with make 3.80 then I'll look into it. Cheers, Ric -- ... Words fly like arrows as if we knew what was right and wrong....
10500
Ric Klaren
izniegoed
Jan 6, 2004 8:04 am
Hi, ... Might be a few small things like some extra casts needed here and there. Between 2.7.2 and 2.7.3 there's some small changes in a few API's which were...
10501
Karl Meissner
meissnersd
Jan 7, 2004 4:54 pm
It seems that antlr uses exceptions in a lot of the generated parsers where simple test will do. Everything that I have read is that an exceptions have a very...
10502
mzukowski@...
montyzukowski
Jan 7, 2004 5:14 pm
There are other sources of exceptions which you would need to analyze the code before knowing you could use goto. For instance rules can have initial actions,...
10503
Ric Klaren
izniegoed
Jan 7, 2004 5:23 pm
Hi, ... You are right, yet the whole ANTLR 2 codegeneration is based around this (in a sense it's a easy way to deal with some of the errors and with the ...
10504
Terence Parr
parrt2000
Jan 7, 2004 5:57 pm
Hi gang, my only additional comment would be that using return values makes it pretty hard to have other return values from a rule, which are arguably very...
10505
Karl Meissner
meissnersd
Jan 7, 2004 6:29 pm
... I agree. sigh. It would be a major rewrite and could only be done on a big version change. The biggest impact would be to the way antlr does predicate...
10506
Jim O'Connor
tiucsibgib
Jan 7, 2004 6:43 pm
To download the zip file, go to http://www.antlr.org/share/list <http://www.antlr.org/share/list> Introduction This is the alpha release of the Java Cross...
10507
Karl Meissner
meissnersd
Jan 7, 2004 6:44 pm
... Which is why I used in my psuedo code ;-) But fine, I used returned values in my rules all the time too. The traditional alternatives to a return value...
10508
lgcraymer
Jan 7, 2004 6:49 pm
Actually, there is an approach for syn preds that would avoid exceptions. That is to generate separate function calls for synpreds which return "true" or...
10509
Matt Benson
gudnabrsam
Jan 7, 2004 6:50 pm
This sounds great, Jim... I'll be checking this out. What's the license? -Matt ... 'identifier39;-'parameterDef39;-'typeSpecArray39;-'typeSpec39;-newExpression' ... ...
10510
Terence Parr
parrt2000
Jan 7, 2004 6:54 pm
... They don't work for primitives in Java unfortunately. ... Can make recursion tricky. ... But a bit slower, though workable. I've considered this for ANTLR...
10511
Terence Parr
parrt2000
Jan 7, 2004 7:00 pm
... Howdy, Only for syn preds, which should be avoided, though. ... Makes recursive and nested structures pretty tough. And most of the time syn preds call...
10512
Jim O'Connor
tiucsibgib
Jan 7, 2004 7:12 pm
It is open source. Use it for whatever you want, don't sue us....
10513
Matt Benson
gudnabrsam
Jan 7, 2004 7:19 pm
So it's the same as the current ANTLR license... ;) Cool. -Matt ... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus"...
10514
Karl Meissner
meissnersd
Jan 7, 2004 7:35 pm
... Nope, you missed a comment. In my examples ResultInfo is null on success. So 90% of the time it will be null and easy to test. Maybe I should have called...
10515
Karl Meissner
meissnersd
Jan 7, 2004 7:40 pm
... Of couse. ResultInfo would be a object. whew! did not mean to start a flame war. btw Terr, I like antlr a lot. Thanks. I am using it in product that is...
10516
Terence Parr
parrt2000
Jan 7, 2004 8:46 pm
... Might be BSD. Ter -- Professor Comp. Sci., University of San Francisco Creator, ANTLR Parser Generator, http://www.antlr.org Co-founder,...
10517
Terence Parr
parrt2000
Jan 7, 2004 8:48 pm
... Yeah, been thinking of doing this so that we can have multiple return values like PCCTS had. Also, I need to add a new and improved attribute mechanism...
10518
Tom Moog
tmoog@...
Jan 8, 2004 2:46 am
I thought java exceptions were expensive only if they were thrown, and that try blocks were relatively cheap. One would think that in the worst case they ...
10519
Ney, Richard
rney_aspect
Jan 8, 2004 4:30 am
Hey Karl, If you are looking at performance issues one item you might look at is how often are you using the tree parser? The tree parser in the general nature...
10520
lgcraymer
Jan 8, 2004 5:14 am
Tom-- The problem is that syntactic predicates are implemented through exceptions and that larger grammars tend to have enough ambiguities (some due to the...
10521
Terence Parr
parrt2000
Jan 8, 2004 6:20 am
... Hi Richard, I'm not sure you can compare a hand-built class of unknown structure to the regular tree parsers. The algorithm is linear, but possibly with a...
10522
Ney, Richard
rney_aspect
Jan 8, 2004 6:55 am
... is ... my ... the ... I don't know if it was implied but I felt I should specify that the custom class is generated with the Tree Parser walking the same...
10523
jekri
Jan 8, 2004 10:18 am
Hi, the 2nd edition of the german book "open source programming tools" has a new chapter about antlr. The book is now being translated and for that reason we...
10524
lookee
lookeeit
Jan 8, 2004 1:52 pm
I'm an Italian studend and I'm working for a code restructuring tool wich parallelize loops in java sources. I'm using antlr with TokenStringRewriteEngine to:...