| 1 |
@node Standards |
| 2 |
@chapter Standards |
| 3 |
|
| 4 |
@menu |
| 5 |
* Overview:: |
| 6 |
@c * Syntax:: |
| 7 |
* Evaluation and compilation:: |
| 8 |
* Types and classes:: |
| 9 |
* Data and control flow:: |
| 10 |
@c * Iteration:: |
| 11 |
* Objects:: |
| 12 |
* Structures:: |
| 13 |
* Conditions:: |
| 14 |
* Symbols:: |
| 15 |
* Packages:: |
| 16 |
* Numbers:: |
| 17 |
* Characters:: |
| 18 |
* Conses:: |
| 19 |
* Arrays:: |
| 20 |
* Strings:: |
| 21 |
* Sequences:: |
| 22 |
* Hash tables:: |
| 23 |
* Filenames:: |
| 24 |
* Files:: |
| 25 |
* Streams:: |
| 26 |
* Printer:: |
| 27 |
* Reader:: |
| 28 |
* System construction:: |
| 29 |
* Environment:: |
| 30 |
@c * Glossary:: |
| 31 |
@end menu |
| 32 |
|
| 33 |
@include standards/overview.txi |
| 34 |
|
| 35 |
@c No changes regarding the standard |
| 36 |
@c @node Syntax |
| 37 |
@c @section Syntax |
| 38 |
|
| 39 |
@include standards/evaluation.txi |
| 40 |
@include standards/types_and_classes.txi |
| 41 |
@include standards/data_and_control_flow.txi |
| 42 |
|
| 43 |
@c @node Iteration |
| 44 |
@c @section Iteration |
| 45 |
|
| 46 |
@include standards/objects.txi |
| 47 |
@include standards/structures.txi |
| 48 |
@include standards/conditions.txi |
| 49 |
@include standards/symbols.txi |
| 50 |
@include standards/packages.txi |
| 51 |
@include standards/numbers.txi |
| 52 |
@c @node Numbers |
| 53 |
@c @section Numbers |
| 54 |
@c ext:float-nan-string |
| 55 |
@c ext:float-infinity-string |
| 56 |
|
| 57 |
@c make-random-state fixnum|array |
| 58 |
@c ext:random-state-array |
| 59 |
@c #$ macro |
| 60 |
|
| 61 |
@include standards/characters.txi |
| 62 |
@include standards/conses.txi |
| 63 |
@include standards/arrays.txi |
| 64 |
@include standards/strings.txi |
| 65 |
@include standards/sequences.txi |
| 66 |
@include standards/hashtables.txi |
| 67 |
@include standards/filenames.txi |
| 68 |
@include standards/files.txi |
| 69 |
@include standards/streams.txi |
| 70 |
@include standards/printer.txi |
| 71 |
@include standards/reader.txi |
| 72 |
@c @c #$ - random state |
| 73 |
|
| 74 |
@include standards/sys-constr.txi |
| 75 |
|
| 76 |
@c ext:*load-hooks*, si::*load-search-list* variable: |
| 77 |
|
| 78 |
@c EXT:*LOAD-HOOKS* is an assoc array of form ((TYPE . LOAD-FUNCTION)), |
| 79 |
@c where TYPE is either a string (i.e "lisp", "fasb" etc.), wildcard |
| 80 |
@c :WILD (matching any extension) and NIL for no |
| 81 |
@c extension. LOAD-FUNCTION is a symbol of a function used to load the |
| 82 |
@c file of the TYPE type. |
| 83 |
|
| 84 |
@c If the argument SOURCE of LOAD is a stream, it is read as an ordinary |
| 85 |
@c lisp source code, otherwise it should a pathname (or a string which |
| 86 |
@c may be coerced to it). |
| 87 |
|
| 88 |
@c If pathname doesn't have a directory, host nor device components, |
| 89 |
@c then file is looked in the `:SEARCH-LIST` directories (defaulting to |
| 90 |
@c si::*load-search-list*) and if found – loaded with LOAD (with |
| 91 |
@c pathname with a directory merged from the search-list). |
| 92 |
|
| 93 |
@c Otherwise (if a pathname does have a directory or the file can't be |
| 94 |
@c found in the SEARCH-LIST) and the file type is neither NIL or :WILD, |
| 95 |
@c then the assoc value of the TYPE is looked up in EXT:*LOAD-HOOKS* and |
| 96 |
@c funcalled on the file (if the TYPE doesn't exist, we load a file as a source code). |
| 97 |
|
| 98 |
@c If file type is NIL or :WILD, then we try to "guess" it's extension |
| 99 |
@c trying extensions from the EXT:*LOAD-HOOKS* in order in which they |
| 100 |
@c appear on the list. By default, first entry is (NIL |
| 101 |
@c . SI:LOAD-SOURCE), so if there is a file without extension in the |
| 102 |
@c directory, it will be treated as a source code. Otherwise we'll try |
| 103 |
@c known extensions. |
| 104 |
|
| 105 |
@include standards/environment.txi |
| 106 |
|
| 107 |
@c @node Glossary |
| 108 |
@c @section Glossary |