Jump to content

SCM (Scheme implementation)

From Wikipedia, the free encyclopedia
SCM
ParadigmsMultiparadigm: functional, procedural, meta
FamilyLisp
Designed byAubrey Jaffer
DevelopersAubrey Jaffer, Radey Shouman, Tanel Tammet (Hobbit)
First appeared1990; 34 years ago (1990)
Stable release
5f4 / 5 February 2024; 9 months ago (2024-02-05)
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.

Language

[edit]

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, Mac OS X (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.
[edit]