On Sat, 2009-02-07 at 15:07 -0800, Andreas Stuhlmüller wrote:
> Is there an ikarus equivalent to plt's scheme/runtime-path library
> that provides forms for accessing files using a path that is relative
> to a source file?
AFAIK, Ikarus does not provide that.
What Ikarus and other R6RS systems do provide is their library search
paths. I've used this to make my `include/resolve' which finds files to
include relative to the search paths. E.g.:
(include/resolve ("xitomatl" "sxml-tools") "sxml-tools.scm")
Maybe the same approach could be used for your purpose. The caveat is
that the first matching sub-path under a search path is used but if you
have the same sub-path under multiple search paths and want one that's
not found first you won't get it. But a modified approach could be done
that checks if the same sub-path is under multiple search paths and
decides what to do about that.
See the file "xitomatl/include.sls" and its compatibility files:
https://code.launchpad.net/~derick-eddington/ikarus-libraries/xitomatl
--
: Derick
----------------------------------------------------------------