Changeset 12278


Ignore:
Timestamp:
11/14/09 20:57:42 (12 years ago)
Author:
ehuelsmann
Message:

Add some loader process documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Load.java

    r12275 r12278  
    4848import java.util.zip.ZipInputStream;
    4949
     50/* This file holds ABCL's (FASL and non-FASL) loading behaviours.
     51 *
     52 * The loading process works like this:
     53 *   The loader associates the input filename with a special variable
     54 *   and starts evaluating the forms in the file.
     55 *
     56 *   If one of the forms is (INIT-FASL :VERSION <version>), from that
     57 *   point the file is taken to be a FASL.
     58 *   The FASL loader takes over and retrieves the file being loaded
     59 *   from the special variable and continues loading from there.
     60 *
     61 *   Note: In order to prevent re-opening the ZIP file again and again,
     62 *    ABCL keeps a cache of opened zip files, which are retrieved to load
     63 *    .cls (compiled-function files) from the ZIP while loading the main
     64 *    ._ file with FASL loading instructions.
     65 */
     66
    5067public final class Load extends Lisp
    5168{
     
    6077                    true);
    6178    }
    62    
     79
    6380    private static final File findLoadableFile(final String filename,
    6481                                               final String dir)
     
    94111                                        boolean print,
    95112                                        boolean ifDoesNotExist)
    96         {
     113    {
    97114        return load(pathname, filename, verbose, print, ifDoesNotExist, false);
    98115    }
Note: See TracChangeset for help on using the changeset viewer.