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: Robert Dewar Subject: Re: Ayacc/Aflex "entropy" (P2Ada) Date: 1999/10/26 Message-ID: <7v30jd$3i6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 540543697 References: <3813716C.52655126@Maths.UniNe.CH> <7v2400$e02$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Oct 26 01:36:45 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-10-26T00:00:00+00:00 List-Id: In article <7v2400$e02$1@nnrp1.deja.com>, Ted Dennison wrote: > 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). I find it appalling that people use such rusty tools as YACC and AYACC, these are very limited tools which seem to completely ignore the considerable advances in this area in the last 25 years! > > - 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. Automatic lexical analyzers are almost completely useless in a compiler context. Sent via Deja.com http://www.deja.com/ Before you buy.