Abdulaziz Ghuloum <[email protected]> writes:

> 2. Zip/Unzip:
>    Again, we should probably go with the command-line utilities
>    for now.  We can later interface with libzip or write our own
>    zip/unzip libraries in Scheme.  So, we need a wrapper library
>    that talks to zip/unzip.
>
> Volunteers?

I don't know anything about any volunteers, but basic zip and unzip
programs can now be found in programs/ at:

https://code.launchpad.net/~weinholt/scheme-libraries/industria

I had no interest in writing wrappers, so I made a library for reading
and writing zip files. It can extract stored and deflated files, so most
zip files made after 1993 should be ok. The library does not implement
compression yet, and I'm not sure if I'll get around to it.

It's rather slow, but it's pure R6RS Scheme. I'm sure it can be further
optimized. It works in at least Petite Chez and Ypsilon, but Ikarus is
missing a few functions (fxreverse-bit-field, bitwise-reverse-bit-field,
open-file-input/output-port, maybe a few I forgot about).

Regards,

-- 
Göran Weinholt <[email protected]>
"The scientists of today think deeply instead of clearly. One must be sane to
think clearly, but one can think deeply and be quite insane." -- Nikola Tesla

Attachment: pgpuG0TC4Vv27.pgp
Description: PGP signature

Reply via email to