X0 is a C-like language, which contains some basic grammar definitions. X0 Extended Language further expands other rules and functions of lexical and French laws. This project aims at X0 Extended Language, compiles its compiler, realizes the functions of lexical analysis, grammar analysis, error handling, object code generation and interpretation