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: ERSHC Newsgroups: comp.compilers Subject: Self compiling compiler Date: Thu, 31 Mar 2016 03:54:00 -0000 (UTC) Organization: A noiseless patient Spider Lines: 9 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <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="47226"; mail-complaints-to="abuse@iecc.com" Keywords: question Posted-Date: 31 Mar 2016 10:47:56 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:1685 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)? Thanks.