calc with flex and bison