Program Structure

CLtL2 Reference

Program structure in SubL mirrors that of Common Lisp almost exactly. All objects except lists and symbols are self-evaluating. This includes numbers, characters, strings, vectors and hashtables. In addition:

  • Keyword symbols are self-evaluating.
  • The symbols T and NIL are self-evaluating.

Defining Named Functions

Declaring Global Variables and Named Constants

Type Specifiers Home Predicates