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