Re: Guile-zlib 0.1.0 released

2021-03-13 Thread Bengt Richter
On +2021-03-12 14:28:39 +0100, Ludovic Courtès wrote:
> Hi!
> 
> I’m pleased to announce the second release of Guile-zlib:
> 
>   git clone https://notabug.org/guile-zlib/guile-zlib
>   cd guile-zlib
>   git checkout v0.1.0  # or 429b3c65ee8946d7ced2353efb8710047fd29c57
>   git tag -v v0.1.0
> 
> The ‘git tag -v’ command checks the authenticity of your checkout.
> You may need to retrieve the signing key first:
> 
>   gpg --keyserver pool.sks-keyservers.net \
>   --recv-keys 3CE464558A84FDC69DB40CFB090B11993D9AEBB5
> 
> Guile-zlib provides Guile 3.0/2.x bindings to the zlib compression
> library.
> 
> Changes since the previous release (excerpt from the ‘NEWS’ file):
> 
>   ** New procedures: ‘make-zlib-input-port’, ‘make-zlib-output-port’
> 
>  These procedures and the companion ‘call-with-zlib-*’ procedures
>  provide an alternative to the ‘make-gzip-*’ and ‘call-with-gzip-*’
>  procedures; unlike those, they operate on all types of ports, not
>  just file ports.
> 
>  These procedures also support multiple formats: raw “deflate”,
>  “zlib”, and “gzip”.
> 
>   ** New ‘compress’ and ‘uncompress’ procedures
> 
>  These procedures support compression/decompression of individual
>  bytevectors.
> 
> You can report bugs and send patches to  or on the
> web site:
> 
>   https://notabug.org/guile-zlib/guile-zlib
> 
> If you like Guile-zlib, you may also like these:
> 
>   https://notabug.org/guile-lzlib/guile-lzlib
>   https://notabug.org/guile-zstd/guile-zstd
> 
> :-)
> 
> Ludo’.

--8<---cut here---start->8---
[08:57 ~/wb]$ git clone https://notabug.org/guile-zlib/guile-zlib
Cloning into 'guile-zlib'...
remote: Counting objects: 75, done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 75 (delta 32), reused 0 (delta 0)
Unpacking objects: 100% (75/75), done.
[08:58 ~/wb]$ cd guile
guile/ guile-netlink/ guile-zlib/guile-zstd/
[08:58 ~/wb]$ cd guile-z
guile-zlib/ guile-zstd/ 
[08:58 ~/wb]$ cd guile-zlib/
[08:58 ~/wb/guile-zlib]$ git checkout v0.1.0 
Note: checking out 'v0.1.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b 

HEAD is now at 429b3c6 maint: Bump to 0.1.0.
[08:59 ~/wb/guile-zlib]$ gpg --keyserver pool.sks-keyservers.net \
>   --recv-keys 3CE464558A84FDC69DB40CFB090B11993D9AEBB5

gpg: key 090B11993D9AEBB5: 4 duplicate signatures removed
gpg: key 090B11993D9AEBB5: 122 signatures not checked due to missing keys
gpg: key 090B11993D9AEBB5: 4 signatures reordered
gpg: key 090B11993D9AEBB5: "Ludovic Courtès " not changed
gpg: Total number processed: 1
gpg:  unchanged: 1
[09:01 ~/wb/guile-zlib]$ 
[09:01 ~/wb/guile-zlib]$ git tag -v v0.1.0
object 429b3c65ee8946d7ced2353efb8710047fd29c57
type commit
tag v0.1.0
tagger Ludovic Courtès  161317 +0100

Guile-zlib 0.1.0.
gpg: Signature made Fri 12 Mar 2021 02:21:57 PM CET
gpg:using RSA key 3CE464558A84FDC69DB40CFB090B11993D9AEBB5
gpg: Good signature from "Ludovic Courtès " [expired]
gpg: aka "Ludovic Courtès " [expired]
gpg: aka "Ludovic Courtès (Inria) " 
[expired]
gpg: Note: This key has expired!
Primary key fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
--8<---cut here---end--->8---

Following your procedure, above is what I got.
Noting:
   gpg: key 090B11993D9AEBB5: 122 signatures not checked due to missing keys
   gpg: Good signature from "Ludovic Courtès " [expired] ...

HTH
-- 
Regards,
Bengt Richter



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

2021-03-13 Thread Michael Schierl



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. It
is not ideal (not fully hygienic and does not support with-ellipsis),
but it works well enough to bootstrap a slightly patched version of
psyntax.scm, which then can be used to bootstrap "the real thing" and
then regenerate psyntax-pp.scm (resulting in a bit-for-bit identical
version if you run the bootstrap on 64-bit Linux).

The project is at
.

It may still contain some unnecessary code, and the patch for the
patched vesion is definitely not minimal, but for now I'm glad that it
works.

I may improve it later. Contributions are welcome as well.


Regards,


Michael


[1]: https://mail.gnu.org/archive/html/guile-user/2017-07/msg00011.html