Related articles |
---|
What is the Simplest Programming Language? merosonox@yahoo.com (merosonox) (2003-01-04) |
Re: What is the Simplest Programming Language? ed_davis2@yahoo.com (2003-01-21) |
What is the smallest self-hosting language? cdc@maxnet.co.nz (Carl Cerecke) (2003-01-25) |
Re: What is the smallest self-hosting language? qsmgmt@earthlink.net (Alan Lehotsky) (2003-01-26) |
Re: What is the smallest self-hosting language? ed_davis2@yahoo.com (2003-01-29) |
Re: What is the smallest self-hosting language? s_dubrovich@yahoo.com (2003-01-30) |
Re: What is the smallest self-hosting language? idbaxter@semdesigns.com (Ira Baxter) (2003-02-05) |
Re: What is the smallest self-hosting language? alexc@world.std.com (2003-02-06) |
Re: What is the smallest self-hosting language? torbenm@diku.dk (2003-02-11) |
[2 later articles] |
From: | Carl Cerecke <cdc@maxnet.co.nz> |
Newsgroups: | comp.compilers |
Date: | 25 Jan 2003 00:59:47 -0500 |
Organization: | TelstraClear |
References: | 03-01-013 03-01-106 |
Keywords: | question |
Posted-Date: | 25 Jan 2003 00:59:47 EST |
Ed Davis wrote:
> Tiny Pascal - basically, PL/0 with arrays and parameters, simple
> I/O, in about 600 lines of C. Note that the Tiny Pascal version of
> Tiny Pascal is self-compiling.
I found myself wondering what the smallest self-hosting language would
look like. In the same way that programmers find it fun to write the
smallest self-reproducing programs, it might be fun to try and write
the smallest self-hosting language.
Has anyone tried this?
Cheers,
Carl.
[Someone once did an amusing least-fixed-point exercise feeding the
output of a compiler back into the compiler until it converged. But I
suppose that's not quite the same thing. There are some rather small
Lisp-in-Lisp and Scheme-in-Scheme programs. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.