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

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