Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Extension to bison to generate PHP code
C C++ PHP Shell Java Perl
Latest commit 9035dcc @scfc Rename method toString() to magic __toString() and use it.
* data/lalr1.php: Here.
* tests/ Adapt test cases.
* examples/php/calc/calc.y: Adapt example.
* examples/php/calc/calc.php: Regenerate.
Failed to load latest commit information.
build-aux maint: generate ChangeLog from git log
data Rename method toString() to magic __toString() and use it.
djgpp change more quotes in source, and adjust tests to match
doc maint: use STREQ/STRNEQ.
etc tests: fix regressions.
examples Rename method toString() to magic __toString() and use it.
externals Make gnulib a submodule.
gnulib @ 50bb21e maint: gnulib: upgrade.
lib build: comment changes.
m4 maint: avoid "magic number exit".
po maint: remove trailing empty lines.
runtime-po maint: remove trailing empty lines.
submodules build: update gnulib and autoconf submodules to latest
tests Rename method toString() to magic __toString() and use it.
.gitattributes add a .gitattributes file to use the git-merge-changelog driver
.gitignore maint: generate ChangeLog from git log
.gitmodules Install autoconf as a submodule to get m4sugar.
.prev-version Use git-version-gen for version names between releases.
.project * lib/timevar.c (get_time): Include children time.
.x-sc_require_config_h Initial version
.x-sc_unmarked_diagnostics Initial version
.x-update-copyright maint: don't update copyright years in bootstrap.
AUTHORS maint: more authors.
COPYING Update to GPLv3.
ChangeLog-1998 maint: generate ChangeLog from git log
ChangeLog-2012 maint: generate ChangeLog from git log build: comment changes.
NEWS also handle syntax_error when calling yylex.
PACKAGING maint: run "make update-copyright".
README maint: run "make update-copyright".
README-alpha maint: run "make update-copyright".
README-hacking maint: run "make update-copyright".
REFERENCES global: remove unnecessary horizontal tabs.
THANKS bitset: fix an incorrect error message.
TODO Translate `YYStack' to PHP.
bootstrap build: manually update bootstrap from gnulib, and adapt
bootstrap.conf tests: fix regressions. maint: use STREQ/STRNEQ. calc++: factor for other extracted tests.


This package contains the GNU Bison parser generator.

* Installation
** Build
See the file INSTALL for generic compilation and installation

Bison requires GNU m4 1.4.6 or later.  See:

** Internationalization
Bison supports two catalogues: 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 for
more details.

* Questions
See the section FAQ in the documentation (doc/ 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 <>.

* Bug reports
Please send bug reports to <>.  Please 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.

Local Variables:
mode: outline


Copyright (C) 1992, 1998-1999, 2003-2005, 2008-2012 Free Software
Foundation, Inc.

This file is part of Bison, the GNU Compiler Compiler.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <>.
Something went wrong with that request. Please try again.