Mail Archives: djgpp/1997/03/21/19:00:07
From: | Phil Galbiati <galbiati AT cse DOT ogi DOT edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Bison & DJGPP
|
Date: | Thu, 20 Mar 1997 23:45:50 -0800
|
Organization: | Oregon Graduate Institute - Computer Science & Engineering
|
Lines: | 24
|
Message-ID: | <Pine.SUN.3.95.970320233130.4067A-100000@blue.cse.ogi.edu>
|
References: | <5g7lv0$6kj AT camel1 DOT mindspring DOT com>
|
NNTP-Posting-Host: | blue.cse.ogi.edu
|
Mime-Version: | 1.0
|
In-Reply-To: | <5g7lv0$6kj@camel1.mindspring.com>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
[mailed & posted]
On Wed, 12 Mar 1997, Sean Nash wrote:
>
> Does anyone have any examples of bison grammer flies with DJGPP? I
> already downloaded the GNU manual.
>
> Sean Nash
The Lex & YACC Nutshell Handbook from O'Reilly & Associates has quite a
few examples, ranging from pretty trivial to rather complex. As far as
I know, they should be compilable using Flex, Bison & DJGPP (certainly the
simpler ones are). I haven't used Flex & Bison in over a year, but if
memory serves me correctly, Flex & Bison are somewhat more forgiving &
robust than Lex & YACC.
Anyway, all the example source code is available via anonymous ftp from
ora.com (sorry, my book is packed away some place so I don't know the
complete path, but if you can't find it yourself, send me mail in a week
or so and I will try to dig it out).
--Phil Galbiati
- Raw text -