On Fri, 2010-01-08 at 21:54 -0600, Eduardo Cavazos wrote:
> On Sun, 2009-12-20 at 12:14 -0800, Derick Eddington wrote:
>
> > If Chez adopts SRFI 103 after it's finalized, we'll only need to set one
> > environment variable and character encoding will be portable, and I'll
> > provide compat libraries for Chez.
>
> In order to test my libraries with Chez, I took your suggestion and
> created the symlinks. Hopefully Chez will eventually support the ':' to
> '%3a' encoding.
(With SRFI 103, ':' will actually encode as '%3A', i.e. uppercase
hexadecimal is required.)
> As for the compat libraries, I had to add a few (was easy enough). Would
> you be open to adding the Chez specific compat libraries before the
> encoding issue is resolved? This way, folks wanting to use the SRFIs
> with Chez can do so by simply by creating the symlinks themselves. And
> when Chez does support the encoding, we'll be ready for it.
I was intentionally waiting, to avoid making the 'srfi' collection even
more inconsistent, but okay.
> If you'd like help with the compat files, let me know!
Yes, please help. Coordinate with Göran Weinholt [1], Aaron Hsu, and
anybody else, and integrate each others' compat files as appropriate,
and send me a tar-ball of all the needed compat files (at least, as many
as possible given Chez's facilities), and only them, which I can simply
untar in the 'srfi' directory. Also, make them have an MIT-style
license.
As a reference of what's needed, here's a list of all the Ikarus compat
files:
> (directory-walk
(lambda (path dirs files syms)
(for-each
(lambda (f)
(when ((matches? (:regex '(: (+ any) ".ikarus.sls")))
f)
(printf "~a\n" (path-join path f))))
(append files syms)))
"srfi")
srfi/%3a6/basic-string-ports/compat.ikarus.sls
srfi/%3a19/time/compat.ikarus.sls
srfi/%3a38/with-shared-structure.ikarus.sls
srfi/%3a39/parameters.ikarus.sls
srfi/%3a48/intermediate-format-strings/compat.ikarus.sls
srfi/%3a78/lightweight-testing/compat.ikarus.sls
srfi/%3a98/os-environment-variables.ikarus.sls
srfi/private/platform-features.ikarus.sls
srfi/private/include/compat.ikarus.sls
[1] https://bugs.launchpad.net/scheme-libraries/+bug/416684
Thanks!
--
: Derick
----------------------------------------------------------------