Gambit (Scheme implementation)
|Paradigms||Multi-paradigm: functional, imperative, meta|
|Designed by||Marc Feeley|
4.9.4 / January 2022
|Typing discipline||Dynamic, latent, strong|
|License||LGPL 2.1, Apache 2.0|
|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). 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.
Termite Scheme is a variant of Scheme implemented on Gambit-C. Termite is intended for distributed computing, it offers a simple and powerful message passing model of concurrency, inspired by that of Erlang.
C++ and Objective-C integration
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.
- "Gambit Scheme - Gambit 4.9.4". https://gambitscheme.org/latest/.
- "Documentation". Gambit wiki. http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Documentation.
- 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.
- Germain, Guillaume; Monnier, Stefan; Feeley, Marc (2006-09-17). "Concurrency oriented programming in Termite Scheme". Scheme and Functional Programming 2006. Portland, Oregon. http://www.schemeworkshop.org/2006/09-germain.pdf. Retrieved 2019-03-08.
Original source: https://en.wikipedia.org/wiki/Gambit (Scheme implementation). Read more