mooigraph 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
..
COPYING 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
LR0.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
Makefile 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
README 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
REFERENCES 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
allocate.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison.1 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison.cld 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison.hairy 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison.simple 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison1.hairy 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
bison1.simple 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
build.com 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
calc.output 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
calc.tab.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
calc.y 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
closure.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
conflicts.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
derives.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
dsmake.output 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
files.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
files.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
getargs.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
gram.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
gram.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
lalr.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
lex.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
lex.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
machine.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
main.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
new.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
nullable.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
output.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
print.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
reader.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
state.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
symtab.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
symtab.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
types.h 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
vmsgetargs.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
vmshlp.mar 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前
warshall.c 3ddfecfb34 added a re-compilation of GNU Bison 1 parser generator 3 年之前

README

bison-1.00 from 1988 recompiled and changed such that it compiles with gcc-8.3 in 2021 see the file dsmake.output

just type 'make' and a bison1 executable is compiled.
path for the skeletons given to file.c is fixed to
this dir to prevent conflicts with newer bison installed.
'make install' is intentionally turned off, see makefile.

bison -d option generates a .tab.h output file
bison -v option generates a calc.output file
bison -y option generates y.tab.c and y.tab.h like yacc does
bison -o outputfile generated output to another file

test to run calc.y:
./bison1 calc.y
gcc calc.tab.c
./a.out
3+3
6
ctrl-d