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