Gambit
ParadigmsMulti-paradigm: functional, imperative, meta
FamilyLisp
Designed byMarc Feeley
First appeared1988; 38 years ago (1988)
Stable release
4.9.6 / March 2025; 1 year ago (2025-03)[1]
Typing disciplineDynamic, latent, strong
ScopeLexical
PlatformIA-32, x86-64
OSCross-platform
LicenseLGPL 2.1, Apache 2.0
Websitegambitscheme.org
Influenced by
Lisp, Scheme
Influenced
Gerbil Scheme, Termite Scheme

Gambit, also called Gambit-C, is a programming language, a variant of the language family Lisp, and its variants named Scheme. The Gambit implementation consists of a Scheme interpreter, and a compiler which compiles Scheme into the language C, which makes it cross-platform software. It conforms to the standards R4RS, R5RS, and Institute of Electrical and Electronics Engineers (IEEE), and to several Scheme Requests for Implementations (SRFIs).[2] Gambit was released first in 1988, and Gambit-C (Gambit with a C backend) was released first in 1994. They are free and open-source software released under a GNU Lesser General Public License (LGPL) 2.1, and Apache License 2.0.

By compiling to an intermediate representation, in this case portable C (as do Chicken, Bigloo and Cyclone), programs written in Gambit can be compiled for common popular operating systems such as Linux, macOS, other Unix-like systems, and Windows.

Gerbil Scheme

edit

Gerbil scheme is a variant of Scheme implemented on Gambit-C. It supports current R*RS standards and common SRFIs and has a state of the art macro and module system inspired by Racket.[3]

Termite Scheme

edit

Termite Scheme is a variant of Scheme implemented on Gambit-C. Termite is intended for distributed computing,[4] it offers a simple and powerful message passing model of concurrency, inspired by that of Erlang.

C++ and Objective-C integration

edit

While the Gambit compiler produces C code only, it has full integration support for C++ and Objective-C compilers such as GNU Compiler Collection (GCC). Thus, software written in Gambit-C can contain C++ or Objective-C code, and can fully integrate with corresponding libraries.

See also

edit

References

edit
  1. ^ "Gambit Scheme - Gambit 4.9.6". github.com. Retrieved 2025-04-22.
  2. ^ "Documentation". Gambit wiki. Archived from the original on 2021-02-26. Retrieved 2010-03-06.
  3. ^ Dimitris Vyzovitis (2017-12-11). Lightning Talk: Gerbil on Gambit, as they say Racket on Chez. Oxford, England: YouTube. Archived from the original on 2021-12-13. Retrieved 2019-03-08.
  4. ^ Germain, Guillaume; Monnier, Stefan; Feeley, Marc (2006-09-17). "Concurrency oriented programming in Termite Scheme" (PDF). Scheme and Functional Programming 2006. Scheme and Functional Programming 2006. Portland, Oregon. Retrieved 2019-03-08.
edit


📚 Artikel Terkait di Wikipedia

Chicken (Scheme implementation)

Baker's 1994 paper Gambit (Scheme implementation) Stalin (Scheme implementation) Winkelmann, Felix. "Announcing the Chicken Scheme-to-C compiler". Google

Stalin (Scheme implementation)

online. Free and open-source software portal Chicken (Scheme implementation) Gambit (Scheme implementation) Official website A Google Code project – includes

Gambit (disambiguation)

gambling industry organisation Gambit (Scheme implementation), an implementation of the Scheme programming language KH-7 Gambit, a reconnaissance satellite

SCM (Scheme implementation)

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

Kawa (Scheme implementation)

programming language Java that implements the programming language Scheme, a dialect of Lisp, and can be used to implement other languages to run on the

Scheme (programming language)

newest releases of various Scheme implementations support the R6RS standard. There is a portable reference implementation of the proposed implicitly phased

Scheme Requests for Implementation

Scheme Requests for Implementation (SRFI) is an effort to coordinate libraries and extensions of standard Scheme programming language, necessitated by

Lisp (programming language)

Conference. The Scheme community actively maintains over twenty implementations. Several significant new implementations (Chicken, Gambit, Gauche, Ikarus