From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1be1b347b5b5ad43 X-Google-Attributes: gid103376,public From: bourguet@my-deja.com Subject: Re: Ayacc/Aflex "entropy" (P2Ada) Date: 1999/10/27 Message-ID: <7v6a4m$fdo$1@nnrp1.deja.com>#1/1 X-Deja-AN: 541064336 References: <3813716C.52655126@Maths.UniNe.CH> <7v2400$e02$1@nnrp1.deja.com> <7v30jd$3i6$1@nnrp1.deja.com> <7v3u0f$nn6$1@nnrp1.deja.com> <3816331A.99C596D2@mitre.org> <7v5ns8$2h1$1@nnrp1.deja.com> X-Http-Proxy: 1.1 sj-netcache (NetCache 4.0R2D6), 1.0 x41.deja.com:80 (Squid/1.1.22) for client 158.140.208.29, 158.140.3.201 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Oct 27 07:37:58 1999 GMT X-MyDeja-Info: XMYDJUIDbourguet Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (X11; I; SunOS 5.5.1 sun4u) Date: 1999-10-27T00:00:00+00:00 List-Id: In article <7v5ns8$2h1$1@nnrp1.deja.com>, Robert Dewar wrote: > In article <3816331A.99C596D2@mitre.org>, > "Robert I. Eachus" wrote: > > One alternative would be to use a parser generator which > uses > > Early's algorithm. Early's algorithm will cheerfully accept > any LR(k) > > grammar, and parse it quite fast, but it can also accept and > recognize > > ambiguous grammars, but the performance degrades to O(n**3). I did knew about Early's algorithm, but thanks for reminding me about it. > I think the parsing algorithm is less of an issue than error > recovery, the error recovery of YACC is pathetic. It is > surprising what can be done with automatic generators in > this area. If you were speaking about error recovery, I knew that there where better than the non existant automatic and crude manual one of YACC. -- Jean-Marc Sent via Deja.com http://www.deja.com/ Before you buy.