SCM (Scheme implementation)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
SCM
SCM 64.png
ParadigmsMultiparadigm: functional, procedural, meta
FamilyLisp
Designed byAubrey Jaffer
DevelopersAubrey Jaffer, Radey Shouman, Tanel Tammet (Hobbit)
First appeared1990; 30 years ago (1990)
Stable release
5f3 / 16 February 2020; 3 months ago (2020-02-16)
Typing disciplineStrong, dynamic, latent
Implementation languageC
PlatformIA-32, x86-64
OSCross-platform
LicenseLGPL
Websitepeople.csail.mit.edu/jaffer/SCM
Influenced by
Lisp, Scheme, SIOD
Influenced
GNU Guile

SCM is a programming language, a dialect of the language Scheme. It is written in the language C, by Aubrey Jaffer, the author of the SLIB Scheme library and the JACAL interactive computer algebra (symbolic mathematics) program. It conforms to the standards R4RS, R5RS, and IEEE P1178. It is free and open-source software released under a GNU Lesser General Public License (LGPL).[1]

SCM runs on many different operating systems such as AmigaOS (also emulation), Linux, Atari-ST, macOS (SCM Mac),[2] DOS, OS/2, NOS/VE, Unicos, VMS, Unix, and similar systems.

SCM includes Hobbit, a Scheme-to-C compiler written originally in 2002 by Tanel Tammet. It generates C files which binaries can be dynamically or statically linked with an SCM executable.[3] SCM includes linkable modules for SLIB features like sequence comparison, arrays, records, and byte-number conversions, and modules for Portable Operating System Interface (POSIX) system calls and network sockets, Readline, curses, and Xlib.

On some platforms, SCM supports unexec (developed for Emacs and bash), which dumps an executable image from a running SCM. This results in a fast startup for SCM.

SCM developed from Scheme In One Defun (SIOD) in about 1990. GNU Guile developed from SCM in 1993.

References[edit]

  1. ^ Jaffer, Aubrey. "SCM manual" (PDF). MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.
  2. ^ Jaffer, Aubrey. "SCM Mac". MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.
  3. ^ Jaffer, Aubrey. "Hobbit manual" (PDF). MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.

External links[edit]