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

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