A complete compiler of a given language built with c++. scanner/parser(using flex/bison)-> abstract syntax tree -> symbol table -> code generation.