Professional Documents
Culture Documents
P
The first language to provide such a bootstrap was NELIAC.
The first commercial language to do so was PL/I.
The first self-hosting compiler (excluding assemblers) was
written for Lisp by Hart and Levin at MIT in 1962. They wrote
a Lisp compiler in Lisp, testing it inside an existing Lisp
interpreter. Once they had improved the compiler to the
point where it could compile its own source code, it was self-
hosting.
The compiler as it exists on the standard compiler tape is a
machine language program that was obtained by having
the S-expression definition of the compiler work on itself
through the interpreter.
This technique is only possible when an interpreter already
exists for the very same language that is to be compiled. It
borrows directly from the notion of running a program on
itself as input, which is also used in various proofs
in theoretical computer science, such as the proof that
the halting problem is undecidable.
P
Alternatively referred to as
or
,
a loader is a program that resides in the
computers EPROM,ROM, or other non-volatile memory that
automatically executed by the processor when the computer
is turned on. The bootstrap loader reads the hard disk
drives boot sector to continue the process of loading the
computers operating system. The term bootstrap comes
from the old phrase "Pull yourself up by your bootstraps."
ͻ This scheme is simple to implement. Because assembler is
placed at one part of the memory and loader simply loads
assembled machine instructions into the memory.
ͻ In this scheme some portion of memory is occupied by
assembler which is simply a wastage of memory. As this
scheme is combination of assembler and loader activities,
this combination program occupies large block of memory.