Re: Self compiling compiler

Kaz Kylheku <545-066-4921@kylheku.com>
Thu, 31 Mar 2016 15:01:43 +0000 (UTC)

          From comp.compilers

Related articles
Self compiling compiler ershc123@nyc.rr.com (ERSHC) (2016-03-31)
Re: Self compiling compiler 545-066-4921@kylheku.com (Kaz Kylheku) (2016-03-31)
Re: Self compiling compiler thomas.goorden@gmail.com (Thomas Goorden) (2016-03-31)
Re: Self compiling compiler nmh@t3x.org (Nils M Holm) (2016-03-31)
Re: Self compiling compiler rivers@dignus.com (Thomas David Rivers) (2016-03-31)
Re: Self compiling compiler alexfrunews@gmail.com (2016-03-31)
Re: Self compiling compiler jkallup@web.de (Jens Kallup) (2016-03-31)
Re: Self compiling compiler 545-066-4921@kylheku.com (Kaz Kylheku) (2016-04-03)
[5 later articles]
| List of all articles for this month |

From: Kaz Kylheku <545-066-4921@kylheku.com>
Newsgroups: comp.compilers
Date: Thu, 31 Mar 2016 15:01:43 +0000 (UTC)
Organization: Aioe.org NNTP Server
References: 16-03-013
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="53065"; mail-complaints-to="abuse@iecc.com"
Keywords: C, comment
Posted-Date: 31 Mar 2016 11:33:17 EDT

On 2016-03-31, ERSHC <ershc123@nyc.rr.com> wrote:
> I'd like to teach an undergraduate class based on the Thompson hack
> (see Ken Thompson's Turing Award lecture). I don't want to write a
> "whole" compiler, so need a compiler that can compile itself,
> preferably one that runs under Linux and is reasonably small. Can
> anyone point me to something more appropriate than gcc (which is far
> from small)?


If you do the hack in a Big Important Compiler like gcc, the lesson will
have greater psychological impact, and you will have bigger hacker creds
in front of the students.


[Perhaps we should figure out how to walk before we run marathons. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.