Portable OpenBSD Yacc.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CVS
.gitignore
.travis.yml
README.md
closure.c
configure
defs.h
error.c
lalr.c
lr0.c
main.c
mkpar.c
output.c
portable.c
portable.h
reader.c
skeleton.c
symtab.c
verbose.c
warshall.c
yacc.1
yyfix.1
yyfix.sh

README.md

Build Status yacc

yacc, or oyacc, is a portable version of the OpenBSD Yacc program.

It is suitable for ensuring standard Yacc compliance, for older Unix machines that do not have a free Yacc or have a very old Yacc, or for users that do not need the bells and whistles of byacc or bison.

yacc has no dependencies other than libc. It is known to build and run on all *BSD flavors, Linux, Mac OS X, Cygwin, AIX, and Solaris. It is very likely to run on other Unix flavors; please let me know if you are using this on a Unix not listed here so that I may add it to the list.

Compiling

To build, run:

$ ./configure
$ make
# make install

Testing

Tested on Linux and Mac OS X using TravisCI. *BSD, Cygwin, AIX, and Solaris testing done manually. AIX 5.1L and Solaris 8 are used to help ensure backwards compatibility.

Licensing

All C files other than portable.c are 3-clause BSD licensed. portable.c has a combination of Public Domain and ISC licensed code.

Get a tarball

https://devio.us/~bcallah/yacc/yacc-20170110.tar.gz