Blake McBride | 16 Aug 18:44

Load should intelligently load .abcl files


If I compile a files named ttt.lisp I get another file named ttt.abcl.  If I then type:

(load "ttt")

abcl loads "ttt.lisp".  As in many other lisps, it would be nice if load used the following algorithm:

1.  If a file extension is explicitly named, use it.  i.e.

    (load "ttt.lisp")
         or
    (load "ttt.abcl")

2.  If the user types:

    (load "ttt")

and there is only ttt.lisp OR ttt.abcl (but not both) load the one it finds.

3.  If both exist, load the one with the latest modification date.



This would allow code or users to load files (without the extension) and always (and automatically) get the correct one.

Thanks.

Blake McBride

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
armedbear-j-devel mailing list
armedbear-j-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel

Gmane