How Compilers Work

How Compilers Work (In Brief) A compiler is simply a computer program that transforms computer code written in one programming language  (the source language) into another programming language (the target language). Typically, a compiler consists the following phases or stages: Lexical Analysis…