What is a compiler?

A program that takes input from a program written in one language (source language) and translates it into a functionally equivalent program in another language (target language).

Source: Usually high-level language like C, C++, Java

Target: Low-level languages like assembly or machine code

Untitled

Application of Compiler

From Past Questions, Write Application of Compiler.

Interpreter

Instead of producing a target program as a transition, an interpreter appears to directly execute the operations specified in the source program on inputs supplied by the user.

Untitled

A language Processing System

Untitled

Cousins of Compiler