>> Any Scheme implementers reading this and want to volunteer your
>> implementation to use as a testbed?
Nobody raised their hand so I started out with Chibi Scheme. Here's what
I have so far:
<https://github.com/lassik/archive-srfis/tree/master/implementation>.
Both Chibi and libarchive have done their part in making this a nice
project for something as grubby as FFI bindings. I didn't have to bind
all that many functions from libarchive to arrive at stable library with
the usual features.
The biggest missing things are:
- archive format detection (by default libarchive just handles
everything you throw at it without telling you what it is)
- pathname normalization and safety checks
- separating compressor (gzip et.al.) handling from tar handling
I've had the SRFI drafts mostly written for a few days, but I haven't
published them before doing the implementations since there is probably
some embarrassing oversight :D
>> I'll do Chez anyway. With Göran's approval, I plan to adapt his
>> <https://github.com/weinholt/compression> library
>
> Go ahead, it has been sitting and waiting for you to come around. The
> SRFI process is partly why that code already has the MIT license on it.
Awesome :) I read through the code but decided to try binding libarchive
first since it's quite full-featured, tested and documented. Once that's
working I'll get to work on adapting your library.