Compiler development has been automatized partially by compiler tools to lessen the burden of writing whole compiler code from scratch. But semantic analysis and intermediate code generation phase is usually hand-written and difficult to comprehend and modify. This is a Pascal Compiler developed by KPGS(Kaist Parser Generating System) and ACK (Amsterdam Compiler Kit). It uses AST(Abstract Syntax Tree) and EM (Encoding Machine) code to modularize semantic analysis and intermediate code generation phase.