Changeset 12278
- Timestamp:
- 11/14/09 20:57:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Load.java
r12275 r12278 48 48 import java.util.zip.ZipInputStream; 49 49 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 50 67 public final class Load extends Lisp 51 68 { … … 60 77 true); 61 78 } 62 79 63 80 private static final File findLoadableFile(final String filename, 64 81 final String dir) … … 94 111 boolean print, 95 112 boolean ifDoesNotExist) 96 113 { 97 114 return load(pathname, filename, verbose, print, ifDoesNotExist, false); 98 115 }
Note: See TracChangeset
for help on using the changeset viewer.