Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Kaz Kylheku <545-066-4921@kylheku.com> Newsgroups: comp.compilers Subject: Re: Self compiling compiler Date: Thu, 31 Mar 2016 15:01:43 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 13 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <16-03-014@comp.compilers> References: <16-03-013@comp.compilers> 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 X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1686 On 2016-03-31, ERSHC 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]