Simple calculator based on flex and bison tools