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

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