CUP and JFlex assistant written in python