PD yacc

7 Jan 86 03:14:00 GMT

          From comp.compilers

Related articles
PD yacc compilers@ima.UUCP (1986-01-07)
Re: PD yacc compilers@ima.UUCP (1986-01-09)
| List of all articles for this month |

Relay-Version: version B 2.10.2 9/12/84; site mit-hermes.ARPA
Posting-Version: Notesfiles $Revision: $; site ima.UUCP
From: compilers@ima.UUCP
Newsgroups: mod.compilers
Date: 7 Jan 86 03:14:00 GMT
Article-I.D.: ima.136300024
Posted: Mon Jan 6 22:14:00 1986
Date-Received: 7 Jan 86 10:46:43 GMT
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 <type> TERMINAL
where type is the name of a member of the union type that the
lex. analyser returns. However
%type <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?

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.