From: Ted Dennison <dennison@telepath.com>
Subject: Re: Ayacc/Aflex "entropy" (P2Ada)
Date: 1999/10/25
Date: 1999-10-25T00:00:00+00:00 [thread overview]
Message-ID: <7v2400$e02$1@nnrp1.deja.com> (raw)
In-Reply-To: 3813716C.52655126@Maths.UniNe.CH
In article <3813716C.52655126@Maths.UniNe.CH>,
Gautier <Gautier.deMontmollin@Maths.UniNe.CH> wrote:
> to extend P2Ada for the Borland-ish Pascal language
> "nebula" increases the "Reduce/Reduce conflicts"
> (what does it mean? nothing good surely...)
> and can confuse the translator in unexpected way.
>
> - Is there a strategy to avoid it (I'm completely
> amateur in ayacc) ?
You ought to consider getting a good yacc book. I use the O'Reilly
Lex/Yacc nutshell book, and it seems quite good. It has a whole chapter
on Yacc conflicts that you might find most helpful. (Reduce/Reduce
roughly means a series of tokens matches 2 rules and it can't decide
which to use).
> - Should one "migrate" to a replacement of ayacc ?
>
> - If so, is there an automatic way to translate
> Pascal.Y ?...
Within a couple of months I hope to get OpenToken to a point where it
would be a useful alternative for such projects. As it stands now, you'd
have to do you own parsing, though.
--
T.E.D.
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~1999-10-25 0:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-24 0:00 Ayacc/Aflex "entropy" (P2Ada) Gautier
1999-10-25 0:00 ` Ted Dennison
1999-10-25 0:00 ` Ray Blaak
1999-10-25 0:00 ` Gautier
1999-10-25 0:00 ` Ted Dennison [this message]
1999-10-26 0:00 ` Robert Dewar
1999-10-26 0:00 ` Gautier
1999-10-27 0:00 ` Tarjei Jensen
1999-10-27 0:00 ` David Botton
1999-10-26 0:00 ` bourguet
1999-10-26 0:00 ` Ted Dennison
1999-10-26 0:00 ` William B. Clodius
1999-10-26 0:00 ` Robert I. Eachus
1999-10-27 0:00 ` Robert Dewar
1999-10-27 0:00 ` bourguet
1999-10-27 0:00 ` Ted Dennison
1999-10-29 0:00 ` Robert I. Eachus
1999-10-31 0:00 ` Robert Dewar
1999-11-01 0:00 ` Robert I. Eachus
1999-10-26 0:00 ` David Starner
1999-10-26 0:00 ` Robert Dewar
1999-10-30 0:00 ` Brian Rogoff
1999-10-31 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox