From: okellogg@freenet.de (Oliver Kellogg)
Subject: Re: Free Ada parser
Date: 14 Dec 2003 10:49:09 -0800
Date: 2003-12-14T10:49:09-08:00 [thread overview]
Message-ID: <6a6390b8.0312141049.1cafb783@posting.google.com> (raw)
In-Reply-To: 62gntvktko48ghlpls4ba46d4r0nh455ij@4ax.com
Craig Carey <research@ijs.co.nz> wrote in message news:<62gntvktko48ghlpls4ba46d4r0nh455ij@4ax.com>...
>
> If YAcc was replaced with the moder advanced ANTLR C++ compiler, a
> likely main problem could remain:
>
> "I developed a "tiny C" grammar for ANTLR annotated to
> produce trees to better understand what a real ANTLR
> language front end would be like. One of the things that I
> learned with this grammar is that debugging ANTLR grammars
> is not that much easier than, say, debugging a YACC grammar.
> There was a mistake in the production describing the for-
> loop. ANTLR gave a non-determinism warning for the unary
> minus production. I spent hours pouring over my expression
> grammar containing the unary minus, but I could find no
> error in it."
True, I had to resolve a couple of those ambiguities
while developing the ANTLR Ada grammar, but once you
really get into the ANTLR way of thinking it's not too bad.
Plus, this is a single-shot problem - it only affects the
development of the grammar itself but not its users.
--Oliver
next prev parent reply other threads:[~2003-12-14 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 18:10 Free Ada parser J Quirce
2003-12-09 19:27 ` David C. Hoos
2003-12-10 13:10 ` Oliver Kellogg
2003-12-10 8:11 ` Ole-Hjalmar Kristensen
2003-12-13 22:57 ` Craig Carey
2003-12-14 1:50 ` Craig Carey
2003-12-14 18:49 ` Oliver Kellogg [this message]
2003-12-15 17:45 ` Robert I. Eachus
-- strict thread matches above, loose matches on Subject: below --
2003-12-11 14:50 ada_wizard
2003-12-12 21:05 ` Colin Paul Gloster
2003-12-13 3:02 ` Steve
2003-12-13 16:46 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox