Computer Science, asked by amitsainiamit9319, 1 year ago

How bootstrapping helps in constructing cross compiler?

Answers

Answered by cynthiarai
0
In computer science, bootstrapping is the technique for producing a self-compiling compiler - that is, compiler (or assembler) written in the source programming languagethat it intends to compile. An initial core version of the compiler - the bootstrap compiler - is generated in a different language (which could be assembly language); successive expanded versions of the compiler are developed using this minimal subset of the language.

Many compilers for many programming languages are bootstrapped, including compilers for BASIC, ALGOL, C, D, Pascal, PL/I, Factor, Haskell, Modula-2, Oberon, OCaml, Common Lisp, Scheme, Go, Java, Rust, Python, Scala, Nim, Eiffel, and more.

Similar questions