Berkeley Yacc review

Download
by rbytes.net on

Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available

License: Freely Distributable
File size: 135K
Developer: T.E.Dickey
0 stars award from rbytes.net

Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available. In contrast to bison, it is written to avoid dependencies upon a particular compiler.

Byacc was written around 1990 by Robert Corbett who is the original author of bison. Originally written in K&R C, I have modified it to conform to ANSI C, and made other improvements.

What's New in This Release:
configure.in: add AC_ARG_PROGRAM to make --program-prefix, etc., work.
makefile.in: first cut of script to support --program-prefix
configure.in: reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
makefile.in: modify so DESTDIR works
makefile.in: use EXEEXT and OBJEXT
configure.in: use CF_PROG_EXT generate a config.h
defs.h: make this use the generated config.h
skeleton.c: add a forward-reference for yyparse()
aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
yacc.1: remove the discussion of TMPDIR since it is obsolete
skeleton.c: fix a couple of minor compiler-warnings in the skeleton
defs.h: remove action_file_name, etc., since we use tmpfile() now.
main.c: use tmpfile() for opening the working files. This quiets an idiot-warning advertising the use of mkstemp().
output.c: Do not close temporary-files here, since they are opened with tmpfile(). Just rewind them, and they're ready to read back the data stored in them.
test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
makefile.in: turn on "make check" rule
test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
test/ftp.tab.c: yyparse() is now yyparse(void)
test/calc.tab.c: RCS_BASE
test/error.tab.c: yyparse() is now yyparse(void)
test/README: RCS_BASE
yacc.1: various typography fixes prompted by Debian #100947
aclocal.m4, makefile.in, configure.in: RCS_BASE
README: updated to note that this is not the original

Berkeley Yacc keywords