r7rs library intrepreted as chibi incompatible with chez scheme
Given a library that imports certains other libraries akku will interpret it as a module for a particular scheme implementation which trigger particular copies and links.
The library I want to use with chez scheme is the following
(define-library (srfi :113)
(export set set-unfold)
;; other exports removes for brievity
(import (scheme base))
(import (scheme case-lambda))
(import (scheme write))
(import (scheme comparator))
(import (srfi :69))
(include "%3a113/sets-impl.scm")
)
Here is the result of akku scan
:
amirouche@ubujan19:~/src/scheme/chez/akku/tests/r7rs$ akku scan
[info] Scanning .
Filename: "113.sls"
Type: R7RS library
For implementation: chibi
Name: (srfi :113)
Exports:
- set
- set-unfold
Imports:
- (scheme base)
- (scheme case-lambda)
- (scheme write)
- (scheme comparator)
- (srfi :69)
Assets:
- {path: "srfi/%3a113/sets-impl.scm", realpath: "%3a113/sets-impl.scm"}
---
External library dependencies:
amirouche@ubujan19:~/src/scheme/chez/akku/tests/r7rs$
Here is the content of .akku/list
:
.akku/lib/akku/metadata.sls - generic-file
.akku/lib/srfi/%3a113/sets-impl.scm - included-file
.akku/lib/srfi/%3a113.sld - r7rs-library
.akku/lib/srfi/:113.sld - r7rs-library
Since it's interpreted as chibi it doesn't translate it to a r6rs library which makes it unsueable with chez.