WIPIVERSE All articles

Macintosh Common Lisp

Macintosh Common Lisp (MCL) is an implementation of the Common Lisp programming language developed originally by Apple Computer, Inc. for the classic Mac OS (System 6, System 7, Mac OS 8, and Mac OS 9) running on Motorola 68k and later PowerPC Macintosh computers.

History and Development Development began in the mid-1980s under the code name "Coral." The first commercial release, version 1.0, shipped in 1987. Apple continued development through version 2.0.1. In 1994, Apple spun off the development team to form a separate company, Digitool, Inc., which continued to develop and sell MCL. Digitool released versions 3.0, 3.1, 4.0, 4.1, 4.2, and the final version, 5.2, in 2001.

Technical Characteristics

  • Standards Compliance: MCL provided a near-complete implementation of the ANSI Common Lisp standard (ANSI X3.226-1994), including the Common Lisp Object System (CLOS), the condition system, and the CLOS Metaobject Protocol (MOP).
  • Architecture: It featured a native-code compiler generating 68k or PowerPC machine code, an incremental compiler, and a generational garbage collector optimized for the Macintosh memory model.
  • IDE: MCL included a sophisticated integrated development environment (IDE) written entirely in Lisp. It featured a listener (REPL), a source-level debugger with graphical inspection of stack frames, an object inspector, a graphical class browser, and an editor (Fred) modeled on Emacs.
  • Mac OS Integration: A distinguishing feature was its deep integration with the classic Macintosh Toolbox. MCL provided a comprehensive object-oriented interface (originally based on a framework called "CLOS-based Toolbox Interface") allowing Lisp programs to create native Macintosh windows, menus, dialogs, and controls, and to handle AppleEvents for inter-application communication.
  • Foreign Function Interface: It included a Foreign Function Interface (FFI) for calling C/C++ libraries and Pascal routines (the native language of early Mac OS system calls).

Significance MCL was widely used in academic research (particularly in Artificial Intelligence and Human-Computer Interaction), commercial AI applications, and commercial software development during the late 1980s and 1990s. It was notable for demonstrating that a dynamic, garbage-collected language with a sophisticated IDE could run efficiently on personal computer hardware of the era.

Discontinuation and Legacy Digitool ceased operations in the mid-2000s. MCL does not run natively on macOS (formerly Mac OS X), as it relies on the classic Mac OS API and the classic Mac OS runtime architecture (CFM), which were not carried forward into the Unix-based macOS. The source code for MCL was not released as open source. Users seeking to run MCL on modern hardware must use emulation environments such as SheepShaver or QEMU emulating a PowerPC Macintosh running Mac OS 9.

Browse

More topics to explore

    Browse all articles