This directory contains the Bison parser generator.

When installing Bison on Sequent (or Pyramid?) systems, you must
be in the Berkeley universe.

On systems that do not have a working `alloca' function, you will
have to get a working `alloca' (perhaps from GNU Emacs) and edit the
Makefile so that it will be used.

On system V, you will need to define the macro USG while compiling.

Send bug reports to bug-gnu-utils@prep.ai.mit.edu.
Please include the date and author of the last entry in ChangeLog
in each bug report; this serves as a version number for Bison.

Check CHANGE.LOG for details on changes.

-----

Note from Tim Capps:

I have removed the grammar table compression code, as it doesn't work.
The problem occurs when you have unused rules in your grammar.  They are
output to the ftable file by reader.c, then when reduce.c gets a chance
to play, it removes all unused rules from the table and adjusts the rule
numbers.  The trouble is that as reader.c has already written the rules
(including the unused ones) to the output .C file, the rule numbers don't
match up anymore.  A symptom of this is that the -v report shows correct
grammar and descision matrix, but when you use the grammar, it actually
executes the wrong reduction rules (although debug still outputs the
correct number).

The tables and code to manipulate them are quite complex, and unfortunately
I don't have time to dig into them at the moment.  Suffice it to say that
the bug isn't there anymore, as the code is not called.  However, at some
point, it would probably be nice to put the code back in and fix it.  If
anybody manages to do this, please let me know (Compuserve: 76347,35).

Zortech C does not allow the nasty alloca tricks that I have seen in other
versions of bison.  Thanks a million to the kind soul who wrote the clever
new alloca system (which should work with ANY C).
