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

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