ASDF Integration
As mentioned in Issue #12, the scope of r7rs libraries is larger than the scope of CL packages so it makes sense to integrate the concept with ASDF systems, generating one system for each r7rs library. This should theoretically be possible because ASDF has the ability to support other programming languages as well as the ability to add compilation/etc. hooks. The latter should be preferred if ASDF can override the behavior just for a subclass of cl-source-file
since the Scheme files could be treated as CL source files with a special reader (i.e. scheme-read
), with all of the other behavior unchanged.
Since define-library
is being extended to support ASDF (probably generating an asdf:defsystem
along with a cl:defpackage
), there are other options available as well, but then that means that including Scheme files directly in a manually-written asdf:defsystem
will be harder or impossible.