6 lines
22 KiB
Plaintext
6 lines
22 KiB
Plaintext
1
|
||
|
||
MEDLEY REFERENCE
|
||
1
|
||
|
||
MEDLEY REFERENCE
|
||
TABLE OF CONTENTS
|
||
1
|
||
|
||
TABLE OF CONTENTS
|
||
1
|
||
|
||
|
||
TABLE of CONTENTS
|
||
6
|
||
|
||
Volume 1 - Lanuage Reference
|
||
1. Introduction 1
|
||
2. Litatoms (Symbols) 2-1
|
||
Using Symbols as Variables 2-1
|
||
Function Definition Cells 2-3
|
||
Property Lists 2-4
|
||
Print Names 2-5
|
||
Characters and Character Codes 2-9
|
||
3. Lists 3-1
|
||
Creating Lists 3-3
|
||
Building Lists from Left to Right 3-4
|
||
Copying Lists 3-6
|
||
Extracting Tails of Lists 3-6
|
||
Counting List Cells 3-8
|
||
Logical Operations 3-9
|
||
Searching Lists 3-10
|
||
Substitution Functions 3-10
|
||
Association Lists and Property Lists 3-11
|
||
Sorting Lists 3-13
|
||
Other List Functions 3-15
|
||
4. Strings 4-1
|
||
5. Arrays 5-1
|
||
6. Hash Arrays 6-1
|
||
Hash Overflow 6-3
|
||
User-Specified Hashing Functions 6-3
|
||
7. Numbers and Arithmetic Functions 7-1
|
||
Generic Arithmetic 7-2
|
||
Integer Arithmetic 7-3
|
||
Logical Arithmetic Functions 7-6
|
||
Floating-Point Arithmetic 7-8
|
||
Other Arithmetic Functions 7-10
|
||
8. Record Package 8-1
|
||
FETCH and REPLACE 8-1
|
||
CREATE 8-2
|
||
TYPE? 8-3
|
||
WITH 8-4
|
||
Record Declarations 8-4
|
||
Record Types 8-5
|
||
Optional Record Specifications 8-10
|
||
Defining New Record Types 8-12
|
||
Record Manipulation Functions 8-12
|
||
Changetran 8-13
|
||
Built-in and User Data Types 8-15
|
||
9. Conditionals and Iterative Statements 9-1
|
||
Data Type Predicates 9-1
|
||
Equality Predicates 9-2
|
||
Logical Predicates 9-3
|
||
COND Conditional Function 9-3
|
||
The IF Statement 9-4
|
||
Selection Functions 9-5
|
||
PROG and Associated Control Functions 9-6
|
||
The Iterative Statement 9-7
|
||
I.s. Types 9-8
|
||
Iterative Variable I.s.oprs 9-9
|
||
Condition I.s.oprs 9-12
|
||
Other I.s.oprs 9-13
|
||
Miscellaneous Hints on I.s.oprs 9-13
|
||
Errors in Iterative Statements 9-15
|
||
Defining New Iterative Statement Operators 9-15
|
||
10. Function Definition, Manipulation, and Evaluation 10-1
|
||
Function Types 10-2
|
||
Lambda-Spread Functions 10-2
|
||
Nlambda-Spread Functions 10-3
|
||
Lambda-Nospread Functions 10-4
|
||
Nlambda-Nospread Functions 10-4
|
||
Compiled Functions 10-5
|
||
Function Type Functions 10-5
|
||
Defining Functions 10-7
|
||
Function Evaluation 10-1
|
||
Iterating and Mapping Functions 10-1
|
||
Function Arguments 10-1
|
||
Macros 10-1
|
||
DEFMACRO 10-15
|
||
Interpreting Macros 10-15
|
||
11. Variable Binds and the Interlisp Stack 11-1
|
||
Spaghetti Stack 11-2
|
||
Stack Functions 11-3
|
||
Searching the Stack 11-4
|
||
Variable Binds in Stack Frames 11-5
|
||
Evaluating Expressions in Stack Frames 11-6
|
||
Altering Flow of Control 11-6
|
||
Releasing and Reusing Stack Pointers 11-7
|
||
Backtrace Functions 11-8
|
||
Other Stack Functions 11-10
|
||
The Stack and the Interpreter 11-10
|
||
Generators 11-12
|
||
Coroutines 11-14
|
||
Possibilities Lists 11-15
|
||
12. Miscellaneous 12-1
|
||
Greeting and Initialization Files 12-1
|
||
Idle Mode 12-3
|
||
Saving Virtual Memory State 12-5
|
||
System Version Information 12-9
|
||
Date and Time Functions 12-11
|
||
Timers and Duration Functions 12-13
|
||
Resources 12-15
|
||
A Simple Example 12-16
|
||
Trade-offs in More Complicated Cases 12-18
|
||
Macros for Accessing Resources 12-18
|
||
Saving Resources in a File 12-19
|
||
Pattern Matching 12-19
|
||
Pattern Elements 12-20
|
||
Element Patterns 12-20
|
||
Segment Patterns 12-21
|
||
Assignments 12-23
|
||
Place-Markers 12-23
|
||
Replacements 12-24
|
||
Reconstruction 12-24
|
||
Examples 12-25
|
||
Volume 2 - Environment Reference
|
||
13. Executives 13-1
|
||
Input Formats 13-3
|
||
Programmer's Assistant Commands 13-4
|
||
Event Specification 13-4
|
||
Commands 13-6
|
||
P.A. Commands Applied to P.A. Commands 13-15
|
||
Changing the Programmer's Assistant 13-16
|
||
Undoing 13-19
|
||
Undoing Out of Order 13-20
|
||
SAVESET 13-21
|
||
UNDONLSETQ and RESETUNDO 13-22
|
||
Format and Use of the History List 13-23
|
||
Programmer's Assistant Functions 13-26
|
||
The Editor and the Programmer's Assistant 13-32
|
||
14. Errors and Breaks 14-1
|
||
Breaks 14-1
|
||
Break Windows 14-2
|
||
Break Commands 14-3
|
||
Controlling When to Break 14-10
|
||
Break Window Variables 14-11
|
||
Creating Breaks with BREAK1 14-12
|
||
Signalling Errors 14-14
|
||
Catching Errors 14-16
|
||
Changing and Restoring System State 14-18
|
||
Error List 14-20
|
||
15. Breaking, Tracing, and Advising 15-1
|
||
Breaking Functions and Debugging 15-1
|
||
Advising 15-7
|
||
Implementation of Advising 15-7
|
||
Advise Functions 15-8
|
||
16. Code Editorsÿÿ |