[bootstrappable] Re: Can Guile be bootstrapped from source without psyntax-pp.scm?

  • From: Jan Nieuwenhuizen <janneke@xxxxxxx>
  • To: Michael Schierl <schierlm@xxxxxx>
  • Date: Sun, 14 Mar 2021 14:57:12 +0100

Michael Schierl writes:

Hello,

Jan Nieuwenhuizen wrote to guile-user@xxxxxxx[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@xxxxxxx> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com ;| Avatar® http://AvatarAcademy.com

Other related posts: