bison integration (with awful but running grammar)