... which has bison 1.28 installed (not quite state of the art)
*) tried apt-cache search bison
- most recent package reported is 1.35 - that's ancient too
- canceled
*) installed bison 2.1 into ~/bison from source (actually
--prefix=/Users/lt/bison)
- works despite of slightly older m4, testsuite runs fine
Now parrot:
*) perl Configure --yacc=~/bison/bin/bison
- ERR - the --yacc option doesn't automagically select --maintainer
- TODO just use it, if --yacc is given (same with --lex)
*) perl Configure --yacc=~/bison/bin/bison --maintainer
- Configure now selects my new shiny bison
- ERR during make:
~/bison/bin/bison imcc/imcc.y -d -o imcc/imcparser.c
make: ~/bison/bin/bison: Command not found
- TODO err early about relative file paths or make it work
*) perl Configure --yacc=/Users/lt/bison/bin/bison --maintainer
- make works finally imcc.y, ast.y are compiled w/o any complaint
*) make test
- shows the expected 5 test errors [1] caused by s/parser
error/syntax error/
- TODO allow both spellings in test result
If someone has a few minutes please fix it,
thanks,
leo
[1]
imcc/t/syn/const.t 5 1280 32 5 15.62% 15-18 21