[Openmcl-devel] Patch to better integrate ASDF-Install with OpenMCL

Gary King gwking at cs.umass.edu
Tue Jun 8 17:30:05 UTC 2004


Attached is a patch to OpenMCL and some other code (all in one file) 
that better integrate ASDF-Install and OpenMCL. Here is the discussion 
in the comments:

This code patches OpenMCL slightly and adds some stuff so that
require works with asdf systems in the *module-search-path*. One
(useful) oddity is that if an asdf system file is in a directory
of the same name and the directory's parent is in the search path,
then this code will find it. For example, if asdf-install.asd is in:

ccl:tools:asdf-install;asdf-install.asd

and the search path includes "ccl:tools;", then evaluating

(require 'asdf-install) will still find asdf-install.asd.

The first (non-package) form is a patch for OpenMCL that prevents
find-load-file from returning directories. The rest of the code
implements the require machinery for asdf systems and pushes the
function onto the *module-provider-functions* variable.

If you're just loading this file, then ASDF must have been loaded
first.

This has _not_ been heavily tested but it does work fine for me.

Feel free to use, abuse and otherwise castigate, alter, spindle and/or
mutilate this code.

Feedback appreciated,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asdf-install-patches.lisp
Type: application/octet-stream
Size: 3943 bytes
Desc: not available
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20040608/b011d7f7/attachment.obj>
-------------- next part --------------

-- 
Gary Warren King, Lab Manager
EKSL East, University of Massachusetts * 413 577 0176

On Macintosh computers: "Life is hard enough.  It's nice to sit down to 
a piece of technology that actually makes you feel good to use it,"

   -- Rick Stevens, University of Chicago


More information about the Openmcl-devel mailing list