This is an old revision of the document!
TWENEX Interlisp Tutorial
Interlisp-10, for Interactive Lisp, is an implementation of the Lisp programming language developed from 1966 at Bolt, Beranek and Newman (BBN) for TENEX, BBN's in-house PDP-10 operating system, and later DEC's TOPS-20 operating systems. From 1970, development of Interlisp was transferred to Xerox Palo Alto Research Center.
The language became popular with Stanford University AI researchers and at other principally US West-Coast institutions.
Interlisp Features
At the time of its creation, what distinguished Interlisp from most other programming languages and systems was that it attempted to provide the user with a complete set of tools for making it possible for him or her to accomplish the desired task as easily as possible. Listed below are a brief summary of some of the more interesting features, and complete details are found in the Interlisp Reference Manual1).
Editor – Interlisp has a list structure oriented editor for easy modification of functions, property lists and variable values without having to leave Interlisp to use a text editor.
Break package – A package for giving control to he user when an error occurs so variable values can be examined and other tests preformed. It also includes the ability to set breakpoints and trace functions.
File package – A set of functions which are fully integrated into the system to keep track of what files source and compiled versions of functions reside, and automatically maintaining updated versions of these files when changes are made.
Record package – A package for creating record structures which allow one's code to be written independent of the data structures acutally chosen for the implementation.
DWIM – “Do What I Mean” – a spelling corrector which attempts to fix spelling errors and other obvious mistakes.
CLISP – “Conversational LISP” – A package which allows the user to write in an ALGOL-like lisp notation including FOR and WHILE loops, and a simple syntax for record references, functions like CAR and CDR, and infix arithmetic operators.
Helpsys – An on-line help and documentation facility.
Masterscope – A program for analyzing the structure of large programs and answering questions like “What functions call FOO” or “EDIT functions which reference MUMBLE freely”
In and Out
Start Interlisp with the EXEC command @INTERLISP:LISP
. Return to EXEC with the Interlisp command LOGOUT()
or Ctrl-C.
Example Session
To Do ("Using Interlisp"?)
The Interlisp prompt character is a _
.
Interlisp is case-sensitive. Core functions are defined with uppercase names. DWIM can figure-out incorrect capitalization. (Note: Interlisp built-in function names should be typed in upper-case, although in many cases Interlisp can automatically correct names typed with incorrect case. Interlisp supports upper- and lower-case characters in user-defined names and in character string data.)
EVALQUOTE command format
Superbracket “]”
TOPS-20 command line editing keys
Interlisp is not identical to Lisp 1.5, but C. Weissman's Lisp 1.5 Primer is recommended as an introduction to the Lisp programming language for Interlisp users.
References