[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: on bootstrapping: first Mes 0.3 released
From: |
Christopher Allan Webber |
Subject: |
Re: on bootstrapping: first Mes 0.3 released |
Date: |
Fri, 16 Dec 2016 10:21:17 -0600 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Jan Nieuwenhuizen writes:
> The current interpeter I consider to be a prototype in C; I use gcc.
> However, HACKING mentions two ways forward
>
> ** Move mes.c into hex?
> One idea is to use OrianJ's amazing self-hosting
> [[https://github.com/oriansj/stage0][stage0]] hex assembler and
> minimal bootstrap binaries and rewrite the mes.c core to directly
> bootstrap into Scheme.
>
> ** Rewrite mes.c and generate hex?
> Another idea (thanks Rutger!) is to rewrite the mes.c core in a
> C/Assembly variant and have mescc produce the simple, annotated
> bootstrap binary.
>
> Possibly you have an even better idea? I am choosing to explore the
> latter first: work on the compiler backend and write the interpreter in
> its Assembly/C-like s-expressions.
First, I'm really excited you're making progress on Mes!
Second, Scheme48 did something similar to this, called "Pre-Scheme",
which is how they bootstrapped Scheme48 iirc. Have you heard of it or
looked at it?
https://en.wikipedia.org/wiki/PreScheme