refactor Compiler_parser.cpp