Bootstrapping (compilers) - Wikipedia
In computer science, bootstrapping is the technique for producing a self-compiling compiler – that is, a compiler (or assembler) written in the source programming language that 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. The problem of compiling a self-compiling compiler has been called the chicken-or-egg problem in compiler design, and bootstrapping is a solution to this problem.[1][2] Bootstrapping is a fairly common practice when creating a programming language. Many compilers for many programming languages are bootstrapped, including compilers for BASIC, ALGOL, C, C#, D, Pascal, PL/I, Haskell, Modula-2, Oberon, OCaml, Common Lisp, Scheme, Go, Java, Elixir, Rust, Python, Scala, Nim, Eiffel, TypeScript, Vala, Zig and more. A typical bootstrap process works in three or
Bootstrapping (compilers) - Wikipedia Jump to content From Wikipedia, the free encyclopedia Process of writing a self-compiling compiler This article is about bootstrapping compilers. For the general concept, see Bootstrapping . In computer science , bootstrapping is the technique for producing a self-compiling compiler – that is, a compiler (or assembler ) written in the source programming language that 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 o
saved by
related reading
- Self-hosting (compilers)en.wikipedia.org
- A friendly introduction to machine learning compilers and optimizershuyenchip.com
- Why am I writing a Rust compiler in C? – notgull – The world's number one source of notgullnotgull.net
- Building a Performant Compiler from Scratch — Bowen Chengbowencheng.dev
- What even is compiler correctness?williamjbowman.com
- Code generation (compiler) - Wikipediaen.wikipedia.org
- Introduction · Crafting Interpreterscraftinginterpreters.com
- Against Query Based Compilersmatklad.github.io
- Beautiful Racket: Make a language in one hour: stackerbeautifulracket.com
- Many can write faster asm than the compiler, yet don't. Why? — LessWronglesswrong.com
- Writing a C compiler in 500 lines of Pythonvgel.me
- Program Synthesis Explained — James Bornholtcs.utexas.edu