Skip to main content

Compiler

>>>>>>>>>>>>>>>>>>>>>>>>>>What does Compiler mean ?

A Compiler (English translator) is a computer program that translates computer code written in one programming language (the source language) into another programming language (the target language). The term Compiler is mainly used for programs that translate source code from a higher programming language (e.g. C++, Java or Python) to a lower programming language (e.g. assembly language, object code or machine code) to create an executable program.

Higher level programming languages are more readable by humans and are therefore the preferred form of programming languages for program development.

Principle

A Compiler typically performs the following operations:

  • Preprocessing,
  • lexical analysis,
  • parsing (conversion to a format for semantic, i.e. meaning, analysis),
  • semantic analysis,
  • conversion of code into format for optimization and final conversion,
  • code optimization,
  • code generation.

Crosscompiler

A crosscompiler creates executable code for a platform other than the platform on which the Compiler is running. For example, a Compiler that runs on a Windows PC but generates code that runs on a Android smartphone is a crosscompiler.

Interpreter

An interpreter is a special form of Compilers. It is a computer program that executes instructions of a designated programming language (which in this case is called a scripting language) directly, without the instructions having to be compiled into a machine language program beforehand.


Do you have any more questions?

Please contact us


Further contents