Part I. Chapters or the [Common Lisp HyperSpec]

Table of Contents

1. Introduction chap-1
1.1. Special Symbols sec_1-4-1-3
1.2. Error Terminology sec_1-4-2
1.3. Symbols in the Package COMMON-LISP sec_1-9
2. Syntax chap-2
2.1. Standard Characters sec_2-1-3
2.2. Reader Algorithm sec_2-2
2.3. Symbols as Tokens sec_2-3-4
2.4. Valid Patterns for Tokens sec_2-3-5
2.5. Backquote sec_2-4-6
2.6. Sharpsign sec_2-4-8
2.6.1. Sharpsign Backslash sec_2-4-8-1
2.6.2. Sharpsign Less-Than-Sign sec_2-4-8-20
3. Evaluation and Compilation chap-3
3.1. Evaluation sec_3-1
3.1.1. Introduction to Environments sec_3-1-1
3.1.2. Symbols as Forms sec_3-1-2-1-1
3.1.3. Conses as Forms sec_3-1-2-1-2
3.1.4. Special Forms sec_3-1-2-1-2-1
3.1.5. Function Forms sec_3-1-2-1-2-3
3.1.6. Macros DEFUN & DEFMACRO
3.2. Compilation sec_3-2
3.2.1. Compiler Terminology sec_3-2-1
3.2.2. Compilation Semantics sec_3-2-2
3.2.3. Definition of Similarity sec_3-2-4-2-2
3.2.4. Exceptional Situations in the Compiler sec_3-2-5
3.3. Declarations sec_3-3
3.3.1. Minimal Declaration Processing Requirements sec_3-3-1
3.3.2. Declaration SPECIAL
3.3.3. Declaration EXT:CONSTANT-NOTINLINE
3.3.4. Function CONSTANTP
3.3.5. Declaration SAFETY
3.3.6. Declaration (COMPILE)
3.3.7. Declaration SPACE
3.4. Lambda Lists sec_3-4
3.4.1. Boa Lambda Lists sec_3-4-6
4. Types and Classes chap-4
4.1. Types sec_4-2
4.1.1. Type Specifiers sec_4-2-3
4.2. Classes sec_4-3
4.3. Deviations from ANSI CL standard
4.4. Standard Metaclasses sec_4-3-1-1
4.5. Defining Classes sec_4-3-2
4.6. Redefining Classes sec_4-3-6
5. Data and Control Flow chap-5
5.1. Generalized Reference sec_5-1
5.2. Setf Expansions sec_5-1-1-2
5.3. Kinds of Places sec_5-1-2
5.4. Miscellaneous
5.5. Macro DEFCONSTANT
5.5.1. Variable CUSTOM:*SUPPRESS-SIMILAR-CONSTANT-REDEFINITION-WARNING*
5.6. Macro EXT:FCASE
5.7. Function EXT:XOR
5.8. Function EQ
5.9. Special Operator FUNCTION
6. Iteration chap-6
6.1. The LOOP Facility sec_6-1
6.1.1. Mixing Termination Test Clauses sec_6-1-4
6.1.2. Iteration variables in the loop epilogue
6.1.3. Backward Compatibility
6.2. Miscellaneous
7. Objects chap-7
7.1. Standard Method Combination sec_7-6-6-2
8. Structures chap-8
8.1. The options for DEFSTRUCT
8.1.1. The :PRINT-FUNCTION option
8.1.2. The :INHERIT option
8.2. The structure Meta-Object Protocol
9. Conditions chap-9
9.1. Embedded Newlines in Condition Reports sec_9-1-3-1-3
9.2. Mentioning Containing Function in Condition Reports sec_9-1-3-1-5
9.3. Interfaces to Restarts sec_9-1-4-2-2
9.4. Assertions sec_9-1-5
10. Symbols chap-10
11. Packages chap-11
11.1. Introduction to Packages sec_11-1-1
11.1.1. Function MAKE-PACKAGE
11.1.2. Macro DEFPACKAGE
11.1.3. Function EXT:RE-EXPORT
11.1.4. Function EXT:PACKAGE-CASE-INVERTED-P
11.1.5. Function EXT:PACKAGE-CASE-SENSITIVE-P
11.2. Constraints on the COMMON-LISP Package for Conforming Programs - package locking sec_11-1-2-1-2
11.3. The COMMON-LISP-USER Package sec_11-1-2-2
11.4. Implementation-Defined Packages sec_11-1-2-4
11.5. Package Case-Sensitivity
11.5.1. User Package for the Case-sensitive World
11.5.2. Package Names
11.5.3. Gensyms and Keywords
11.5.4. Migration Tips
11.5.5. Using case-sensitive packages by default
12. Numbers chap-12
12.1. Numeric Types
12.2. Number Concepts sec_12-1
12.2.1. Numeric Operations sec_12-1-1
12.2.2. Implementation-Dependent Numeric Constants sec_12-1-2
12.2.3. Rule of Float Substitutability sec_12-1-3-3
12.2.4. Floating-point Computations sec_12-1-4
12.2.5. Complex Computations sec_12-1-5
12.2.6. Rule of Canonical Representation for Complex Rationals sec_12-1-5-3
12.2.7. Random-State Operations sec_12-1-7
13. Characters chap-13
13.1. Introduction to Characters sec_13-1
13.1.1. Function CHAR-CODE
13.1.2. Type BASE-CHAR
13.1.3. Function EXT:CHAR-WIDTH
13.2. Character sets
13.3. Character Scripts sec_13-1-2-1
13.4. Character Attributes sec_13-1-3
13.4.1. Input Characters
13.5. Graphic Characters sec_13-1-4-1
13.6. Alphabetic Characters sec_13-1-4-2
13.7. Characters With Case sec_13-1-4-3
13.7.1. Function EXT:CHAR-INVERTCASE
13.7.2. Case of Implementation-Defined Characters sec_13-1-4-3-4
13.8. Numeric Characters sec_13-1-4-4
13.9. Ordering of Characters sec_13-1-6
13.10. Character Names sec_13-1-7
13.11. Treatment of Newline during Input and Output sec_13-1-8
13.12. Character Encodings sec_13-1-9
13.13. Documentation of Implementation-Defined Scripts sec_13-1-10
13.14. Platform-Dependent Characters
13.15. Obsolete Constants
14. Conses chap-14
14.1. Conses as Lists sec_14-1-2
14.1.1. Mapping Functions
15. Arrays chap-15
15.1. Array Elements sec_15-1-1
16. Strings chap-16
16.1. Miscellaneous
16.1.1. String Comparison
16.1.2. Function EXT:STRING-WIDTH
16.1.3. Functions EXT:STRING-INVERTCASE and EXT:NSTRING-INVERTCASE
17. Sequences chap-17
17.1. Additional Functions
17.1.1. Function EXT:TRIM-IF
17.2. Additional Macros
17.2.1. Macro EXT:DOSEQ
17.3. Functions NREVERSE & NRECONC
17.4. Functions REMOVE & DELETE
17.5. Functions SORT & STABLE-SORT
18. Hash Tables chap-18
18.1. Modifying Hash Table Keys sec_18-1-2
18.2. Function MAKE-HASH-TABLE
18.2.1. Interaction between HASH-TABLEs and garbage-collection
18.3. Macro EXT:DEFINE-HASH-TABLE-TEST
18.4. Function HASH-TABLE-TEST
18.5. Macro EXT:DOHASH
19. Filenames chap-19
19.1. Pathname Components sec_19-2-1
19.1.1. Directory canonicalization
19.1.2. Platform-specific issues
19.2. :UNSPECIFIC as a Component Value sec_19-2-2-2-3
19.3. External notation
19.4. Logical Pathnames sec_19-3
19.5. Miscellaneous
19.5.1. Function TRANSLATE-PATHNAME
19.5.2. Function TRANSLATE-LOGICAL-PATHNAME
19.5.3. Function PARSE-NAMESTRING
19.5.4. Function MERGE-PATHNAMES
19.5.5. Function LOAD-LOGICAL-PATHNAME-TRANSLATIONS
19.5.6. Function EXT:ABSOLUTE-PATHNAME
20. Files chap-20
20.1. Directory is not a file
20.1.1. Function EXT:PROBE-PATHNAME
20.2. File functions
20.2.1. Function PROBE-FILE
20.2.2. Function FILE-AUTHOR
20.2.3. Function DELETE-FILE
20.2.4. Function RENAME-FILE
20.3. Directory functions
20.3.1. Function EXT:PROBE-DIRECTORY
20.3.2. Function DIRECTORY
20.3.3. Function EXT:DIR
20.3.4. Function EXT:CD
20.3.5. Function EXT:DEFAULT-DIRECTORY
20.3.6. Function EXT:MAKE-DIRECTORY
20.3.7. Function EXT:DELETE-DIRECTORY
20.3.8. Function EXT:RENAME-DIRECTORY
21. Streams chap-21
21.1. Interactive Streams sec_21-1-1-1-3
21.1.1. Initialization of Standard Streams
21.2. Terminal interaction
21.2.1. Command line editing with GNU readline
21.2.2. Macro EXT:WITH-KEYBOARD
21.3. Binary Input and Output
21.3.1. Binary input, READ-BYTE, EXT:READ-INTEGER & EXT:READ-FLOAT
21.3.2. Binary output, WRITE-BYTE, EXT:WRITE-INTEGER & EXT:WRITE-FLOAT
21.4. Bulk Input and Output
21.4.1. Bulk Input
21.4.2. Bulk Output
21.4.3. Rationale
21.5. Non-Blocking Input and Output
21.6. Newline Convention
21.6.1. Should programs output a newline before or after each line of output?
21.6.2. Analysis
21.6.3. Conclusion
21.6.4. Solution
21.6.5. Elastic Newline Analysis
21.7. Function STREAM-EXTERNAL-FORMAT
21.8. Function STREAM-ELEMENT-TYPE
21.8.1. Binary input from *STANDARD-INPUT*
21.9. Function EXT:MAKE-STREAM
21.10. Function FILE-POSITION
21.11. Function EXT:ELASTIC-NEWLINE
21.12. Function OPEN
21.13. Function CLEAR-INPUT
21.14. Function CLOSE
21.15. Function OPEN-STREAM-P
21.16. Class BROADCAST-STREAM
21.17. Functions EXT:MAKE-BUFFERED-INPUT-STREAM and EXT:MAKE-BUFFERED-OUTPUT-STREAM
21.18. Function EXT:STREAM-HANDLES
22. Printer chap-22
22.1. Multiple Possible Textual Representations sec_22-1-1-1
22.2. Printing Floats sec_22-1-3-1-3
22.3. Printing Characters sec_22-1-3-2
22.4. Package Prefixes for Symbols sec_22-1-3-3-1
22.5. Printing Other Vectors sec_22-1-3-7
22.6. Printing Other Arrays sec_22-1-3-8
22.6.1. Printing Pathnames sec_22-1-3-11
22.7. The Lisp Pretty Printer sec_22-2
22.7.1. Pretty Print Dispatch Table sec_22-2-1-4
22.8. Formatted Output sec_22-3
22.9. Functions WRITE & WRITE-TO-STRING
22.10. Macro PRINT-UNREADABLE-OBJECT
22.11. Miscellaneous Issues
23. Reader chap-23
23.1. Effect of Readtable Case on the Lisp Reader sec_23-1-2
23.2. The recursive-p argument sec_23-1-3-2
24. System Construction chap-24
24.1. Function COMPILE-FILE
24.1.1. Output files
24.1.2. Return values
24.2. Function COMPILE-FILE-PATHNAME
24.3. Function REQUIRE
24.3.1. Return value
24.3.2. Additional LOAD locations
24.3.3. User variable CUSTOM::*MODULE-PROVIDER-FUNCTIONS*
24.3.4. Interaction with COMPILE-FILE
24.4. Function LOAD
24.5. Variable *FEATURES*
24.6. Function EXT:FEATUREP [CLRFI-1]
24.7. Function EXT:COMPILED-FILE-P [CLRFI-2]
25. Environment chap-25
25.1. Top Level Loop sec_25-1-1
25.1.1. User-defined Commands
25.2. Debugging Utilities sec_25-1-2
25.2.1. Function DISASSEMBLE
25.2.2. Function EXT:UNCOMPILE
25.2.3. Function EXT:SHOW-STACK
25.2.4. Function DOCUMENTATION
25.2.5. Function DESCRIBE
25.2.6. Macro TRACE
25.2.7. Function INSPECT
25.2.8. Macro TIME
25.2.9. Function ED
25.2.10. Functions APROPOS & APROPOS-LIST
25.2.11. Function DRIBBLE
25.3. Environment Inquiry sec_25-1-3
25.3.1. Function ROOM
25.3.2. Function EXT:GC
25.3.3. Machine
25.3.4. Function LISP-IMPLEMENTATION-VERSION
25.3.5. Function EXT:ARGV
25.4. Time sec_25-1-4
26. Glossary chap-26
27. Appendix chap-a
28. X3J13 Issue Index [CLHS-ic]

These notes document CLISP version 2.49.93+Last modified: 2018-02-19