Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.16 $; site ima.UUCP Path: utzoo!decvax!cca!ima!compilers From: compilers@ima.UUCP Newsgroups: mod.compilers Subject: PD yacc Message-ID: <136300024@ima.UUCP> Date: Mon, 6-Jan-86 22:14:00 EST Article-I.D.: ima.136300024 Posted: Mon Jan 6 22:14:00 1986 Date-Received: Wed, 8-Jan-86 02:44:59 EST Lines: 19 Approved: compilers@ima.uucp Nf-ID: #N:ima:136300024:000:855 Nf-From: ima!compilers Jan 6 22:14:00 1986 [from ihnp4!decvax!cwruecmp!bammi (Jwahar R. Bammi)] I saw people discussing Public Domain compiler tools (wart etc) on this group. I don't know if it is widely known that a Public domain Yacc, called Bison is available from the GNU project (free software foundation). It has two types of parser skeletons, controlled by the presence of the directive '%semantic_parser'. The default, when the directive is absent, is a Yacc compatible parser. There is one bug that I have found. You cannot use the declaration %token TERMINAL where type is the name of a member of the union type that the lex. analyser returns. However %type non-terminal works fine. Another problem is the lack of documentation, but I guess there will be some shortly. The version I am using is a few months old. Anyone know if there has been a newer release? --------