
Two pass Compiler is divided into two sections, viz. In single pass Compiler source code directly transforms into machine code.

Recognize legal and illegal program constructsįollowing are the different types of Compiler:.Preserve the correct the meaning of the code.In this Compiler Design tutorial, you will learn The compiler process goes through lexical, syntax, and semantic analysis at the front end and code generation and optimization at the back-end. The compiling process includes basic translation mechanisms and error detection.

The compiler also makes the end code efficient, which is optimized for execution time and memory space. It translates the code written in one programming language to some other language without changing the meaning of the code.

A compiler is a computer program which helps you transform source code written in a high-level language into low-level machine language.
