Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1690

Re: Self compiling compiler

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From alexfrunews@gmail.com
Newsgroups comp.compilers
Subject Re: Self compiling compiler
Date Thu, 31 Mar 2016 12:27:26 -0700 (PDT)
Organization Compilers Central
Lines 9
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <16-03-018@comp.compilers> (permalink)
References <16-03-013@comp.compilers>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Injection-Info miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="89151"; mail-complaints-to="abuse@iecc.com"
Keywords C, tools
Posted-Date 31 Mar 2016 16:00:15 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:1690

Show key headers only | View raw


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

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Self compiling compiler ERSHC <ershc123@nyc.rr.com> - 2016-03-31 03:54 +0000
  Re: Self compiling compiler Kaz Kylheku <545-066-4921@kylheku.com> - 2016-03-31 15:01 +0000
  Re: Self compiling compiler Thomas Goorden <thomas.goorden@gmail.com> - 2016-03-31 17:50 +0200
  Re: Self compiling compiler "Nils M Holm" <nmh@t3x.org> - 2016-03-31 19:41 +0200
    Re: Self compiling compiler Kaz Kylheku <545-066-4921@kylheku.com> - 2016-04-03 10:34 -0400
      Re: Self compiling compiler Nils M Holm <nmh@t3x.org> - 2016-04-04 12:54 +0000
  Re: Self compiling compiler Thomas David Rivers <rivers@dignus.com> - 2016-03-31 14:16 -0400
  Re: Self compiling compiler alexfrunews@gmail.com - 2016-03-31 12:27 -0700
  Re: Self compiling compiler Jens Kallup <jkallup@web.de> - 2016-03-31 21:29 +0200
  Re: Self compiling compiler ERSHC <ershc123@nyc.rr.com> - 2016-04-02 20:58 +0000
  Re: Self compiling compiler federation2005@netzero.com - 2016-05-25 16:41 -0700
    Re: Self compiling compiler federation2005@netzero.com - 2016-05-28 14:49 -0700
      Re: Self compiling compiler rockbrentwood@gmail.com - 2016-08-22 15:56 -0700

csiph-web