[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bootstrappable] Re: Can Guile be bootstrapped from source without p
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [bootstrappable] Re: Can Guile be bootstrapped from source without psyntax-pp.scm? |
Date: |
Sun, 14 Mar 2021 14:57:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Michael Schierl writes:
Hello,
> Jan Nieuwenhuizen wrote to guile-user@gnu.org[1] on 07 Jul 2017:
>> Mark H Weaver writes:
>>
>>>> Does this mean Guile is not bootstrappable from source only?
>>>
>>> That's correct. psyntax-pp.scm is not source code, and it is needed to
>>> bootstrap Guile.
>>
>> I'm facing the same problem with Mes. I have an implemenation of
>> syntax-rules that is just about 200 lines of define-macro source code,
>> but not syntax case.
>
>>> Having said this, I agree that it would be better if psyntax.scm were
>>> written in such a way that it could be bootstrapped without the use of
>>> itself. Maybe some day we'll rewrite it to make it so.
>>
>> That could be essential to our full source bootstrapping efforts so I'm
>> very much interested!
>
> For the record, I have written a psyntax implementation that can be used
> by Guile (3.0.2) and does not require an expanded version of itself.
Oh, that's amazing! I see that you are using make-syntax-transformer
(and others) which GNU Mes does not support yet; it only has
define-macro. This may be a good reason/opportunity to work towards
better Guile support in Mes.
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com