Up: Integrating Scheme Code [Contents][Index]
The Scheme code generator introduces the “namespace to module” feature which means that a Dezyne file, when it contains a single namespace, is assumed to describe a module, such as found in languages like GNU Guile (see Guile modules in GNU Guile Reference Manual), JavaScript (Python, etc.). Similarly, foreigns are assumed to live in their own module, so that this module can be used/required/imported.
Things to note:
foreign
, the class <foreign>
use-module
and re-export
their port accessors
(see Using Guile Modules in Guile reference manual).