From: | kenney@cix.compulink.co.uk |
Newsgroups: | comp.compilers |
Date: | Tue, 19 May 2009 17:28:10 -0500 |
Organization: | Compilers Central |
References: | 09-05-086 |
Keywords: | practice |
Posted-Date: | 20 May 2009 09:57:29 EDT |
gneuner2@comcast.net (George Neuner) wrote:
> so, naturally, along with the language validation suite
> (if there is one), one of the first big tests of your new compiler is
> whether it can compile itself.
The other point it is possible to bootstrap the thing. Once you have a
minimal compiler it can be used to compile the full version. It is also
easier to add additional features. Delphi distributions for example
includes the complete source code of the compiler and the components.
A different example is Forth. While you can write Forth systems in
another language such as C a large proportion of them have a minimum
word set in machine code and the rest is written in Forth.
Ken Young
Return to the
comp.compilers page.
Search the
comp.compilers archives again.