guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: on bootstrapping: first Mes 0.3 released


From: Arne Babenhauserheide
Subject: Re: on bootstrapping: first Mes 0.3 released
Date: Tue, 13 Dec 2016 23:43:11 +0100
User-agent: mu4e 0.9.16; emacs 24.5.1

Jan Nieuwenhuizen writes:

> Arne Babenhauserheide writes:
>> How do you compile the interpreter?
>
> 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.

This seems to be the strongest option, but also very expensive. And only
useful if it becomes a step on the way to compile GCC (the goal of
stage0).

>     ** 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.

I think the C/Assembly variant sounds better — maybe written in simple
enough style to be compiled by stage0 before that can compile GCC.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]