I think it's like compiling a program unit for lexical, syntax and semantics analysis.