Akim Demaille 402332c4b6 lalr1.cc: use computed state types
This skeleton uses a single stack of state structures, so it is less
likely to benefit from a stack size reduction than yacc.c (which uses
several stacks: state number, value and location).  But it will reduce
the size of the LAC stack.

This skeleton was already using int for state numbers, so, contrary to
yacc.c, this brings nothing for large automata.

Overall, it is still nicer to make the skeletons alike.

* data/skeletons/lalr1.cc (state_type): Here.
2019-10-24 18:16:01 +02:00
2019-10-24 18:16:01 +02:00
2019-10-22 10:40:12 +02:00
2019-01-05 14:58:05 +01:00
2019-09-22 07:48:10 +02:00
2019-10-24 07:22:17 +02:00
2019-04-23 19:28:08 +02:00
2019-10-17 11:51:20 -07:00
2019-09-22 07:48:10 +02:00
2019-10-21 08:53:07 +02:00
2006-01-22 07:59:51 +00:00
2006-01-22 07:59:51 +00:00
2019-01-05 14:58:05 +01:00
2019-10-17 11:51:20 -07:00
2007-08-15 20:21:33 +00:00
2019-10-10 21:57:50 +02:00
2019-01-05 14:58:05 +01:00
2019-10-24 18:13:17 +02:00
2019-01-05 14:58:05 +01:00
2019-10-06 12:15:12 +02:00
2019-10-21 08:53:06 +02:00
2019-10-24 18:01:53 +02:00
2019-10-23 08:32:06 +02:00

This package contains the GNU Bison parser generator.

Installation

Build from git

Here are basic installation instructions for a repository checkout:

$ git submodule update --init
$ ./bootstrap

then proceed with the usual 'configure && make' steps.

Be sure to read README-hacking, which contains all the needed information about building, modifying and checking Bison.

Build from tarball

See the file INSTALL for generic compilation and installation instructions.

Bison requires GNU m4 1.4.6 or later. See:

  https://ftp.gnu.org/gnu/m4/m4-1.4.6.tar.gz

Relocatability

If you pass '--enable-relocatable' to 'configure', Bison is relocatable.

A relocatable program can be moved or copied to a different location on the file system. It can also be used through mount points for network sharing. It is possible to make symlinks to the installed and moved programs, and invoke them through the symlink.

See "Enabling Relocatability" in the documentation.

Internationalization

Bison supports two catalogs: one for Bison itself (i.e., for the maintainer-side parser generation), and one for the generated parsers (i.e., for the user-side parser execution). The requirements between both differ: bison needs ngettext, the generated parsers do not. To simplify the build system, neither are installed if ngettext is not supported, even if generated parsers could have been localized. See http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html for more details.

Questions

See the section FAQ in the documentation (doc/bison.info) for frequently asked questions. The documentation is also available in PDF and HTML, provided you have a recent version of Texinfo installed: run "make pdf" or "make html".

If you have questions about using Bison and the documentation does not answer them, please send mail to help-bison@gnu.org.

Bug reports

Please send bug reports to bug-bison@gnu.org. Be sure to include the version number from 'bison --version', and a complete, self-contained test case in each bug report.

Copyright statements

For any copyright year range specified as YYYY-ZZZZ in this package, note that the range specifies every single year in that closed interval.

Description
No description provided
Readme 18 MiB
Languages
C 61%
M4 11.7%
C++ 11.3%
Shell 4.1%
XSLT 3.1%
Other 8.8%