tags:

views:

58

answers:

3

What is the term used to refer to when you create a new language and write the compiler for that language, in a different one, then once the 'temporary' compiler is well-developed, rewrite it in the same language using that temporary compiler?

+5  A: 

The term for that is "bootstrapping".

sepp2k
+3  A: 

Q: "If one needs a compiler for language X to obtain a compiler for language X (which is written in language X), how did the first compiler get written?"

A: Bootstrapping

John Kugelman
+2  A: 

Once you get into the new language, its called "bootstrapping"

You don't need the temporary compiler to handle the whole language, just enough to let you get started with the first version of the real compiler. Then keep adding features and using them in the next rev.

Alex Blakemore