[Top] [Contents] [Index] [ ? ]

Table of Contents

1. Introduction
2. Getting Started
2.1 Using the Interpreter
2.2 Using the Standard Library
2.3 Writing a Script
2.4 Definitions
2.5 Runtime Errors
3. Lexical Matters
4. Scripts and Modules
5. Declarations
6. Expressions
6.1 Constants and Variables
6.2 Applications
6.3 Lists and Tuples
6.4 Built-In Operators
6.4.1 Quotation Operators
6.4.2 Arithmetic Operators
6.4.3 Relational Operators
6.4.4 Logical and Bit Operators
6.4.5 String/List/Tuple Operators
6.4.6 The Sequence Operator
7. Equations and Expression Evaluation
7.1 Equations
7.2 Non-Linear Equations
7.3 Free Variables
7.4 Local Variables
7.5 Type Guards
7.6 Normal Forms and Reduction Strategy
7.7 Conditional Rules
7.8 Rule Priorities
7.9 Performing Reductions on a Stack
7.10 Tail Recursion
7.11 Error Handling
8. Types
8.1 Using Type Guards
8.2 Built-In and Enumeration Types
8.3 Sub- and Supertypes
9. Special Forms
9.1 Basic Concepts
9.2 Special Constructors
9.3 Built-In Special Forms
9.4 The Quote Operator
10. Built-In Functions
10.1 Arithmetic Functions
10.2 Numeric Functions
10.3 String/List/Tuple Functions
10.4 Conversion Functions
10.5 I/O Functions
10.5.1 Terminal I/O
10.5.2 File I/O
10.5.3 Pipes
10.6 Exception Handling
10.7 Miscellaneous Functions
11. The Standard Library
11.1 Standard Functions
11.2 String Functions
11.3 Comparison Functions
11.4 Type-Checking Predicates
11.5 Sorting Algorithms
11.6 Standard Types
11.6.1 Arrays
11.6.2 Heaps
11.6.3 Sets
11.6.4 Bags
11.6.5 Dictionaries
11.6.6 Hashed Dictionaries
11.7 Lambda Calculus
11.8 List Comprehensions
11.9 Streams
11.10 Conditional Expressions
11.11 Mathematical Functions
11.12 Complex Numbers
11.13 Graphics
11.13.1 Coordinate System
11.13.2 Overview of Graphics Operations
11.13.3 Path Construction
11.13.4 Painting
11.13.5 Clipping
11.13.6 Graphics State
11.13.7 Miscellaneous Operations
11.13.8 DSC and EPSF Comments
11.14 Diagnostics and Error Messages
12. Clib
12.1 Manifest Constants
12.2 Additional String Functions
12.3 Byte Strings
12.4 Extended File Functions
12.5 C-Style Formatted I/O
12.6 File and Directory Functions
12.7 Process Control
12.8 Low-Level I/O
12.9 Terminal Operations
12.10 System Information
12.11 Sockets
12.12 POSIX Threads
12.12.1 Thread Creation and Management
12.12.2 Realtime Scheduling
12.12.3 Mutexes
12.12.4 Conditions
12.12.5 Semaphores
12.12.6 Threads and Signals
12.12.7 Thread Examples
12.13 Expression References
12.14 Time Functions
12.15 Filename Globbing
12.16 Regular Expression Matching
12.16.1 High-Level Interface
12.16.2 Low-Level Interface
12.16.3 Match State Information
12.16.4 Basic Examples
12.16.5 Empty and Overlapping Matches
12.16.6 Splitting
12.16.7 Performing Replacements
12.16.8 Submatches
12.16.9 Nested Searches
12.17 Additional Integer Functions
12.17.1 Powers and Roots
12.17.2 Prime Test
12.17.3 Other Number-Theoretic Functions
12.17.4 Examples
12.18 C Replacements for Common Standard Library Functions
A. Q Language Grammar
B. Using Q
B.1 Running Compiler and Interpreter
B.2 Command Language
B.3 Setting up your Environment
B.4 Running Scripts from the Shell
C. C Language Interface
C.1 Compiling a Module
C.2 Writing a Module
C.3 Linking and Debugging a Module
D. Debugging
E. Running Scripts in Emacs
References
Index


This document was generated by Albert Gräf on October, 14 2003 using texi2html