On Thursday, March 31, 2016 at 7:47:59 AM UTC-7, 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.

Per a Reddit commenter, this very task has been done with my compiler:
https://github.com/alexfru/SmallerC
Alex