Hi, I'm new to the world of Parser Generators/Lexers. I just learned about what ANTLR and JavaCC can do and I'm pretty excited about 'em. While I don't have a...
5287
Remus Pereni
rpereni
Apr 1, 2002 9:15 am
Hello praveen_c, Monday, April 01, 2002, 11:54:10 AM, you wrote: p> Hi, p> I'm new to the world of Parser Generators/Lexers. I just learned p> about what ANTLR...
5288
micheal_jor
Apr 1, 2002 12:10 pm
Hi, Has anyone had deep-ish experience of both systems. SInce they can both generate parsers and tree-walkers, I wonder what the differences are? Micheal...
5289
Mainan Elektronik
etoyshop7
Apr 1, 2002 1:51 pm
click and win fiesta = get:://everyone.to/thelink Access Today - no charge for software testing - click and win fiesta - stand a chances to win US ...
5290
Remi Koutcherawy
koutch2000
Apr 1, 2002 5:46 pm
... From: "Terence Parr" <parrt@...> To: <antlr-interest@yahoogroups.com> Sent: Monday, April 01, 2002 12:52 AM Subject: Re: [antlr-interest] What's a...
5291
Lloyd Dupont
lloyd_from_far
Apr 1, 2002 9:53 pm
interesting, indeed, thanks. ... oops...here is link: http://www.jguru.com/faq/view.jsp?EID=818959 Ter...
5292
Lloyd Dupont
lloyd_from_far
Apr 2, 2002 10:24 am
still learning ANTLR and having problems..... I try with my real problem which is, amongst other things, to rewrite my Java interprer with ANTLR. I want it to...
5293
Ric Klaren
izniegoed
Apr 2, 2002 10:36 am
... The problem is that this rule can be empty (zero or more times something). Which will not work (antlr needs lookahead to decide things if a rule can be...
5294
Lloyd Dupont
lloyd_from_far
Apr 2, 2002 10:45 am
From: "Ric Klaren" <klaren@...> ... ... (TESTING PHASE) .... ... (READING AGAIN PHASE) .... ... (TESTING AGAIN PHASE) ..... ... Wouahhh !!!! so fast,...
5295
spenserkao
Apr 2, 2002 2:47 pm
I tried to test Nongreedy Subrules, under ANTLR v2.7.1, onto a C- style comment. The compilation was successful, but I kept receiving runtime error. Can...
5296
mzukowski@...
montyzukowski
Apr 2, 2002 3:02 pm
You don't have ' ' in your lexer vocabulary, I'm suprised it even recognized the B and A. Anyways add this to your lexer options, as documented in ...
5297
spenserkao
Apr 2, 2002 3:23 pm
It works! Thanks for the useful hint. Spenser ... recognized ... documented in ... receiving ... in...
5298
Terence Parr
parrt2000
Apr 2, 2002 4:54 pm
... Howdy folks. That was a damn good question. But please take a second to search the ANTLR FAQ at jGuru before asking questions. For example, this...
5299
Lloyd Dupont
lloyd_from_far
Apr 2, 2002 11:25 pm
... after more reflexion I am not really satisfyied. It appear that this help me find solution but: 1st/ the script is not EMPTY, there is at least "EOF"...
5300
John Allen Green
johnallengreen
Apr 2, 2002 11:33 pm
Hi all, There's an old issue with hidden tokens: they are doubly-linked, therefore, they must be manually cleaned up at the time that you delete the AST. ...
5301
micheal_jor
Apr 3, 2002 12:15 am
... second ... Terrence, Is it possible to have the FAQ exported as a PDF file, HTML archive or some similar format for offline use? It's online-only nature...
5302
Terence Parr
parrt2000
Apr 3, 2002 6:19 am
... There is a printable version that is very simple text. Link is called "Printable View" in gutter. here ya go: ...
5303
Ric Klaren
izniegoed
Apr 3, 2002 8:51 am
... Add 2 & 3: You can change the AST's to use a memory pool (add custom new/delete) and hack a bit on the codegenerator and support lib to completely loose...
5304
Lloyd Dupont
lloyd_from_far
Apr 3, 2002 12:03 pm
why this (stupid) grammar has problem ? why OPTION 2 has problem ? it seems quite clear to me ! by the way it is roughly the same than OPTION 1 which work, why...
5305
Silvain Piree
stdiobe
Apr 3, 2002 12:19 pm
... Given input "AB C" this could parse as: name (A) name (B) name (C) or name (ABC) So there's a conflict. If you want to do it like this, then you probably...
5306
John P N Pybus
johnpybus
Apr 3, 2002 2:33 pm
... As the error says it's the importDefinition rule antlr is worried about. identifierStar ... ( DOT^ IDENT )* ( DOT^ STAR )? ; The appearance of 'statement39;...
5307
John Allen Green
johnallengreen
Apr 3, 2002 8:42 pm
... Oi, I was hoping to avoid doing any surgery on Antlr. Getting rid of the reference counting would be very nice, but I think it would be a significant task....
5308
Lloyd Dupont
lloyd_from_far
Apr 3, 2002 10:00 pm
... I believ ther is no conflict ant that it would parse as "ABC" (the rule are greedy, no ?) any way than you for the tip, I will investigate this way......
5309
Lloyd Dupont
lloyd_from_far
Apr 3, 2002 10:02 pm
ok, thanks, I am surprised that ANTLR make such a mistake, thanks. ... the ... the ... sure...
5310
wenye742000
Apr 3, 2002 10:41 pm
Where I can find the C++ grammar for Antlr? If there are grammar for perl, python, XML, etc... better. Thanks all Ye Wen...
5311
wenye742000
Apr 3, 2002 10:41 pm
Where I can find the C++ grammar for Antlr? If there are grammar for perl, python, XML, etc... better. Thanks all Ye Wen...
5312
Ric Klaren
izniegoed
Apr 4, 2002 9:53 am
Hi, ... Well I was planning to do some major surgery anyway ;) ... First step custom would be adding a custom new/delete. Then problably do or a subclassing...
5313
Lloyd Dupont
lloyd_from_far
Apr 4, 2002 12:36 pm
in an action I want to write int c; // ... some code $setText("" + (char) c); but it failed. unlike char aChar = (char) c; $setText("" + aChar); is it normal ?...
5314
Terence Parr
parrt2000
Apr 4, 2002 5:31 pm
... Possibly...i think the argument handling for the $functions is fairly primitive as it used to be java/c++ combined. Ter -- Co-founder, http://www.jguru.com...
5315
John Allen Green
johnallengreen
Apr 4, 2002 7:59 pm
... Regarding Boehm GC: From what I've read - yes, it should handle any circular structures fine. I think a bigger question about Boehm GC is: is it as...