| www.delorie.com/gnu/docs/guile/guile_160.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Guile's application programming interface (API) makes functionality available that an application developer can use in either C or Scheme programming. The interface consists of elements that may be macros, functions or variables in C, and procedures, variables, syntax or other types of object in Scheme. Broadly speaking, the interface as a whole can be divided into three groups.
Functions/procedures in the first group are often known as
primitives, subrs or builtins. An example is the
assq Scheme procedure, which is also available as scm_assq
in C.
Elements in the second and third groups exist because they provide
additional language-specific benefits in either Scheme or C. Examples
are the C macro SCM_CONSP, which is faster and more convenient in
C programming than the primitive scm_pair_p, and the
procedure-with-setter make-object-property, which provides a
more convenient property handling interface in Scheme than the
primitives on which it is based.
20.1 Identical Function in both Scheme and C Identical function for Scheme and C. 20.2 Elements Available Only in C Elements only available in C. 20.3 Elements Available Only in Scheme Elements only available in Scheme. 20.4 Reference Material Layout The layout of this part of the manual.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |