On Sun, 2009-12-20 at 06:27 -0600, Eduardo Cavazos wrote: > Petite Chez 7.9.3 includes some support for using R6RS libraries. > > However, it seems to have some trouble with the srfi libraries: > > $ petite > Petite Chez Scheme Version 7.9.3 > Copyright (c) 1985-2009 Cadence Research Systems > > > (import (srfi :1)) > Exception: library (srfi :1) not found > Type (debug) to enter the debugger. > >
Remember to configure Chez's search paths. Currently, --libdirs or CHEZSCHEMELIBDIRS are used for that. Chez has configurable file name extensions, which currently defaults to including .sls and .chezscheme.sls. Currently, --libexts or CHEZSCHEMELIBEXTS control that, but have them unset to use the default. If those factors are okay, there's still the issue that Chez currently does not encode the : character. I made my own symlinks to the %3a files/dirs. Some of the (srfi ---) libraries require system-specific compat libraries, which currently aren't provided. (srfi :1 lists) does not. 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. -- : Derick ----------------------------------------------------------------
