Download Learning ZIL

Transcript
Page 2
Learning ZIL
Table of Contents
1. The Basics
1.1 The Basic Ingredients
1.2 The Handler
1.3 The Parser's Role
1.4 The Basic Handling Sequence
2. Creating Rooms
2.1 What a Typical Room Definition Looks Like
2.2 Exits
2.3 Other Parts of a Room Definition
3. Creating Objects
3.1 What an Object Definition Looks Like
3.2 Object properties
4. Routines in ZIL
4.1 The Basic Parts
4.2 Calling a Routine
4.3 Conditionals
4.4 Exiting a Routine
4.5 ZIL Instructions
5. Simple Action Routines
5.1 Simple Object Action Routines
5.2 Other Common Predicates
5.3 More Complicated Predicates
5.4 A Room's Action Routine
EXERCISE ONE
6. Events
6.1 Definition
6.2 How The Interrupt System Works
6.3 Queuing an Interrupt Routine
6.4 Room M-ENDs
7. Let's Learn a Whole Lot More About ZIL Code
7.1 Mathematical Expressions in ZIL
7.2 Global Variables
7.3 The Containment System
7.4 Globals and Local-Globals
7.5 The Full Glory of TELL
7.6 Vehicles
8. The Bigger Picture
8.1 The Main Loop
8.2 More About PERFORM
8.3 Calling PERFORM Directly
8.4 Flushing inputs
EXERCISE TWO
9. The Syntax File
9.1 Basic Syntaxes
2/25/2002