Go to the first, previous, next, last section, table of contents.


A Portable C to Scheme Interface

The Guile interpreter is based on Aubrey Jaffer's SCM interpreter (see section `Overview' in SCM: a portable Scheme interpreter) with some modifications to make it suitable as an embedded interpreter, and further modifications as Guile evolves.

Part of the modification has been to provide a restricted interface to limit access to the SCM internals; this is called the gh_ interface, or libguile interface.

If you are programming with Guile, you should only use the C subroutines described in this manual, which all begin with gh_.

If instead you are extending Guile, you have the entire SCM source to play with. This manual will not help you at all, but you can consult Aubrey Jaffer's SCM manual (see section `Internals' in SCM: a portable Scheme interpreter).

If you are adding a module to Guile, I recommend that you stick to the gh_ interface: this interface is guaranteed to not change drastically, while the SCM internals might change as Guile is developed.


Go to the first, previous, next, last section, table of contents.