Use Lex and Yacc to construct a translator from modified tiny BASIC (attached file); the translator will parse input code according to the given grammar and generate C++ code which you be able to compile and test. Note that the attached file describes a tiny BASIC compiler. Your project is instead a front end for a compiler, using C++ as intermediate code.