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 328 - 357 of 14630   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
328 Laurent Bollini
lbollini@xxx.xx.xxxx Send Email
Apr 12, 1999
11:36 am
hello firstable, I'm a brand new ANTLR user, so new that I've already had a problem while trying to simply launch ANTLR ! I'm working under Solaris 2.0 and got...
329 Terence Parr
parrt@xxxxxxxx.xxxx Send Email
Apr 12, 1999
5:24 pm
... the unzip program screwed up; when we tarred it back up, the .class files are a problem. Just do "javac *.java" and you'll be ok :) Sorry for the problem. ...
330 pheng-siong.ng@xx.xxx Send Email Apr 13, 1999
5:36 am
Hi, I last used ANTLR about 1.5 years back, and am still a total newbie. I'm now trying to recognise byte-counted strings, like so: ...
331 Daniel Berlin
DanielB@xxxxxxxxxx.xx... Send Email
Apr 13, 1999
5:55 am
C++ or java? I've got C++ action code to do it, but not JAVA --Dan "If a man is alone in the forest, and their is no woman around to hear him, is he still...
332 pheng-siong.ng@xx.xxx Send Email Apr 13, 1999
6:32 am
Hi Dan, Java. I have Python code that tokenises said strings, which should also work with JPython. I just want to try doing it with a parser-generator. Cheers....
333 Laurent Bollini
lbollini@xxx.xx.xxxx Send Email
Apr 13, 1999
7:16 am
... Thanks a lot. About the C++ mode, I saw the sources under the cpp folder, but I don't know how to build them : is there any available makefile ? Sorry for...
334 Sinan Karasu
sinan.karasu@xxxxxx.x... Send Email
Apr 13, 1999
2:48 pm
... Here is the general idea. In your case 'bytes&#39; would be what you first read and parse as an int. GenericRecord! ... Int[6] /* 0-2 */ Id[6] /* 3-5 */ //...
335 Zow Terry Brugger
zow@xxxxx.xxxxxxxxxx.... Send Email
Apr 14, 1999
5:44 am
... Hash: SHA1 ... how ... Last time I checked, it was pretty trivial, like: CC -c *.cpp Then just link the object files with your app. ... I don't recall...
336 Paul Erion
erion@xxxxxx.xxxx Send Email
Apr 14, 1999
6:59 pm
Everyone seems to use the following rule to recognize newlines ... protected NEWLINE : ( '\015&#39; '\012&#39; | '\015&#39; | '\012&#39; ) ; but using this rule I get ... ...
337 Terence Parr
parrt@xxxxxxxx.xxxx Send Email
Apr 18, 1999
7:03 pm
Folks, Just a quick note...I have overcome the last roadblock pertaining to token vocabularies (was driving me NUTS!); thanks to Monty Zukowski / John Mitchell...
338 David LeBlanc
whisper@xxxxxxxxx.xxxx Send Email
Apr 18, 1999
8:04 pm
Has anyone successfully done this? I get a couple of errors like: Warning: F:\antlr-2.5.0\antlr\LLkAnalyzer.java(680): Class name expected tool.error("no...
339 Jesper Jonasson
jejo@xxxx.xxx Send Email
Apr 19, 1999
6:54 am
How do I make the lexer recognize Swedish character (e.g. an 'a' with a dot over it)? My original definition of letter looked like this: protected LETTER ... ;...
340 Janet Riley
jriley@xxxxx.xxx.xxxx Send Email
Apr 19, 1999
4:09 pm
Jesper Jonasson wrote: My first attempt was to include the swedish characters in the definition, but that made the antlr.Tool throw a Scanner exception while ...
341 Paul Baxter
paje@xxxxxxxxx.xx.xxx Send Email
Apr 19, 1999
4:16 pm
I think that unix and mac use one character newlines (one uses '\012&#39; and one '\015&#39;) while the PC uses '\015&#39; followed by '\012&#39;. Your rule doesn't cope with...
342 mzukowski@xxx.xxx Send Email Apr 19, 1999
4:20 pm
It works fine with all three situations. Paul's rule is the best way to express the NEWLINE rule that I've seen. He factors the common '\015&#39; into its own...
343 Peter Williams
pete.williams@xxx.xxx... Send Email
Apr 20, 1999
1:24 am
... I don't think Unicode is the right term here... I don't remember what is though - I always called it 8-bit ASCII :) The real key thing is that it's 8-bit...
344 geb@xxxx.xxx.xxx Send Email Apr 20, 1999
2:11 am
Is it possible to create a Conversion/Parser that reads in a file in EBNF format file and produce and Antlr formated file ? Eventhough the formats are fairly...
345 dogyoung@xxx.xxx Send Email Apr 20, 1999
7:38 am
Hi, I have set up the antlr-2.5.0 and tried it on example/html like this: java antlr.Tool html.g It worked and generated several files: HTMLLexer.java ...
346 Jesper Jonasson
jejo@xxxx.xxx Send Email
Apr 20, 1999
8:11 am
Hi Doug, You must define a class which invokes the lexer and the parser, in the HTML example there's such a file called Main.java. To get going, just compile...
347 Jesper Jonasson
jejo@xxxx.xxx Send Email
Apr 20, 1999
9:02 am
Hi, Thanks to all who replied to my original post! By compiling the answers I got I managed to solve the problem. The answer lies of course in using Unicode...
348 DOG YOUNG
dogyoung@... Send Email
Apr 20, 1999
2:30 pm
Hi Jesper, I did that - "java Main test.html". The only thing happened was the cursor changed into arrow+hourglass for about one minute and changed back to...
349 Hank
hank@xxxxxxxxx.xxxx Send Email
Apr 20, 1999
12:34 pm
Hi, I'm reasonably new to antlr. I've been playing with the java example, or antlr/examples/java. When looking at the AST parsed java file, I don't see the...
350 Sinan Karasu
sinan.karasu@xxxxxx.x... Send Email
Apr 20, 1999
8:47 pm
Really is not needed. Since if ... v condition -> statement1 -> statement2 You'd just execute statement2 if condition fails. However, for a different method,...
351 Kim YoungIl
yikim@xxxxxx.xxxxxxxx... Send Email
Apr 22, 1999
10:45 am
DQotLS0tLb/4ursguN69w8H2LS0tLS0NCrq4s70gu+e29zogS2ltIFlvdW5nSWwgPHlpa2ltQGNv bWVuZy5jaHVuZ25hbS5hYy5rcj4NCrnetMIgu+e29zogYW50bHItbWFpbCA8YW50bHItaW50ZXJl ...
352 Ning Ci
cing@xxx.xxx.xxxx Send Email
Apr 22, 1999
3:02 pm
I use ANTLR (Java) to compile a language very similar to, but not as complex as "C". Function call as a statement is supported in my lexer and parser, but NOT...
353 Sinan Karasu
sinan.karasu@xxxxxx.x... Send Email
Apr 22, 1999
3:40 pm
Make sure you are using the same token definitions. I have seen too many cases where people use one tokdef for lexer parser treewalker and then change one and...
354 mzukowski@xxx.xxx Send Email Apr 22, 1999
9:23 pm
Your problem is with these rules: comparison : (multiplicity)? lValue comparisonOp rValue ... ; multiplicity : "any" ... ; comparisonOp : EQ | NE | LT | LE |...
355 mzukowski@xxx.xxx Send Email Apr 22, 1999
9:29 pm
A tree parser only walks the trees as specified by the grammar. If something in the tree isn't in your grammar then it will either be ignored or throw a...
356 Ning Ci
cing@xxx.xxx.xxxx Send Email
Apr 22, 1999
9:32 pm
... I checked my token type file, and it is the same for lexer->parser->treewalker. any other suggestions? ning...
357 Ning Ci
cing@xxx.xxx.xxxx Send Email
Apr 22, 1999
9:56 pm
... Is there a way to make the tree parser always throw a MismatchedTokenException instead of just ignoring the mismatch? Thanks!...
Messages 328 - 357 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