add flex and bison mode