Contents | Index | < Browse

	   The ADL Programmer's	Reference Manual


			Tim Brengle
			Ross Cunniff

		  Hewlett-Packard Company
		Cupertino, California 95014



 			  ABSTRACT

	  ADL (which stands for	 "Adventure  Definition
     Language")	 is a programming language and run-time
     environment designed for the convenient  implemen-
     tation  of	 Adventure-like	 games.	  This document
     describes ADL and is intended for	the  use  of  a
     programmer	who wishes to create such a game.

	  The authors would  like  to  acknowledge  the
     tremendous	 influence  of the earlier language DDL
     from which	ADL was	derived.  DDL  was  created  in
     1981  by  Bruce  Adler,  Chris  Kostanick,	Michael
     Stein,  Michael  Urban,  and  Warren  Usui,   then
     members  of  the UCLA Computer Club.  For informa-
     tion on DDL, please consult the document "A  Brief
     Description  of  UCLA  Dungeon Definition Language
     (DDL)" written by the creators of DDL  and	 avail-
     able from the University of California.


       		  Table	of Contents


	  1.  Introduction
	  2.  ADL Data types
	  2.1.	Objects
	  2.2.	Verbs
	  2.3.	Adjectives
	  2.4.	Strings	   
	  2.5.	Numbers	   
	  2.6.	Routines
	  2.7.	Global Variables
	  2.8.	Local variables
	  2.9.	Modifiers
	  3.  ADL Internal Structures
	  3.1.	Actors
	  3.2.	Daemons
	  3.3.	Fuses
	  3.4.	Prompter
	  3.5.	Run-Time Macros
	  4.  Putting It All Together
	  4.1.	The Flow of Execution
	  4.2.	$exit
	  5.  ADL Programs
	  6.  Routines
	  7.  ADL Built-in Routines
	  7.1.	Object Routines
	  7.2.	Verb Routines
	  7.3.	Arithmetic Routines
	  7.4.	Boolean Routines
	  7.5.	Global Value Routines
	  7.6.	Transition Routines
	  7.7.	String Manipulation Routines
	  7.8.	Name Routines
	  7.9.	Conversion Routines
	  7.10.	Internal Structure Manipulation Routines
	  7.11.	Special Routines
	  7.12.	Miscellaneous Routines
	  8.  ADL Program Structure
	  9.  ADL Sentence Structure
	  10.  standard.adl
	  10.1.	 Object properties
	  10.2.	 Constants
	  10.3.	 Words
	  10.4.	 Verbs and their actions
	  10.5.	 Routines
	  Appendix 1 - A Tiny Dungeon
	  Appendix 2 - A scenario with multiple Actors
	  Appendix 3 - Glossary