Mimic yacc output

With write() from d8 one can compare the output of the original Bison's yacc.c and the lalr1.js to easily find bugs in parsing with just a diff tool.