SCM (Scheme implementation)
Paradigms | Multiparadigm: functional, procedural, meta |
---|---|
Family | Lisp |
Designed by | Aubrey Jaffer |
Developers | Aubrey Jaffer, Radey Shouman, Tanel Tammet (Hobbit) |
First appeared | 1990 |
Stable release | 5f4
/ 5 February 2024 |
Typing discipline | Strong, dynamic, latent |
Implementation language | C |
Platform | IA-32, x86-64 |
OS | Cross-platform |
License | LGPL |
Website | people |
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]- ^ Jaffer, Aubrey. "SCM manual" (PDF). MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.
- ^ Jaffer, Aubrey. "SCM Mac". MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.
- ^ Jaffer, Aubrey. "Hobbit manual" (PDF). MIT Computer Science and Artificial Intelligence Laboratory. Massachusetts Institute of Technology.