Bootstrap (compiler)

See also: Bootstrap

In Data-processing, the term bootstrapping describes the techniques used to write a Compilateur (or a Assembleur) in the Computer programming language target which it must compile.

One can wonder how to solve this Paradoxe of egg and the hen: if one needs a compiler for language X in order to obtain a compiler for language X, how the first compiler was written?

  • Implanter a interprets or a Compilateur for language X in language Y.
  • Another interpreter or compiler was written for X in a language Y. Thus Scheme is often bootstrappé.
  • Of the initial versions of the compiler is written in a subset of X for which there existed another compiler. Thus supersets of Java are bootstrappés.
  • the compiler of X is cross of another architecture for which there exists a compiler for X. Thus one generally carries worms of other platforms the compilers for the C.
  • By writing the compiler optimizing X, then by compiling it with the hand starting from its Source code (probably in a not optimized way) and while turning the code obtained to obtain the optimizing compiler.

The methods to distribute compilers in source code include the supply of a portable Bytecode of the compiler, in order to bootstrapper the system of compilation of the compiler with itself.

NELIAC was the first language required such a bootstrap. PL/I was the first commercial language to do it.
Aujourd'hui, a broad proportion of the computer programming languages are bootstrappés, therefore C, Scheme, Ocaml, Pascal, Modulated-2, Oberon and more.

See too

  • Car-lodged
  • Car-interpreter

External bond

  • Bootstrap of a simple compiler from nothing

Random links:Haïda | Syndrome of Bardet-Biedl | Thaumiers | Cameron Shepherd | Ehn | Le_gain_national