README 616 B

1234567891011121314151617181920
  1. bison-1.00 from 1988 recompiled and changed such that it compiles with gcc-8.3 in 2021 see the file dsmake.output
  2. just type 'make' and a bison1 executable is compiled.
  3. path for the skeletons given to file.c is fixed to
  4. this dir to prevent conflicts with newer bison installed.
  5. 'make install' is intentionally turned off, see makefile.
  6. bison -d option generates a .tab.h output file
  7. bison -v option generates a calc.output file
  8. bison -y option generates y.tab.c and y.tab.h like yacc does
  9. bison -o outputfile generated output to another file
  10. test to run calc.y:
  11. ./bison1 calc.y
  12. gcc calc.tab.c
  13. ./a.out
  14. 3+3
  15. 6
  16. ctrl-d