Developer(s) | GNU Project |
---|---|
Initial release | 1993 |
Stable release | 2.0.12 (July 14, 2016 | )
Preview release | 2.1.4 (September 14, 2016 | )
Operating system | Linux, BSD, MS Windows (through MinGW or Cygwin) |
Standard(s) | R5RS and R6RS |
Type | Programming language |
License | GNU Lesser General Public License |
Website | www |
GNU Guile is the preferred extension system for the GNU Project, which features an implementation of the Scheme programming language. Its first version was released in 1993. In addition to large parts of Scheme standards, Guile Scheme includes modularized extensions for many different programming tasks.
For extending programs, Guile offers "libguile" which allows the language to be embedded in other programs, and integrated closely through the C API; similarly, new types and subroutines defined through the C API can be made available as extensions to Guile itself.
Guile stands for the GNU Ubiquitous Intelligent Language for Extensions. It is used in programs like GnuCash and LilyPond.
Guile Scheme is a general-purpose, high-level programming language whose flexibility allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. For example its hygienic macro system allows adding domain specific syntax-elements without modifying Guile itself. Guile implements the Scheme standard R5RS, most of R6RS, several SRFIs, and many extensions of its own.
The core idea of Guile Scheme is that "the developer implements critical algorithms and data structures in C or C++ and exports the functions and types for use by interpreted code. The application becomes a library of primitives orchestrated by the interpreter, combining the efficiency of compiled code with the flexibility of interpretation." Thus Guile Scheme (and other languages implemented by Guile) can be extended with new types and subroutines implemented through the C API.