]> git.donarmstrong.com Git - lilypond.git/blob - guile18/examples/README
New upstream version 2.19.65
[lilypond.git] / guile18 / examples / README
1                                                                -*- outline -*-
2
3 * Overview
4
5 This directory contains examples illustrating various aspects of Guile
6 programming.
7
8 If you plan writing Scheme programs, have a look at the `scripts'
9 directory.  To learn more about Guile modules, check out the `modules'
10 directory, and maybe the `box-module' and `box-dynamic-module'
11 directories, if you are into C programming or shared libraries,
12 respectively.  The `safe' directory contains examples for evaluation
13 Scheme code in controlled environments (sandboxing).  The directories
14 `box', `box-module', `box-dynamic' and `box-dynamic-module' are
15 interesting if you plan writing Guile extensions.
16
17 See the README files in the subdirectories for details.
18
19
20 * Included Examples
21
22 scripts             Examples for writing simple scripts in Guile Scheme.
23
24 box                 Example for extending Guile with a new data type.
25
26 box-module          Similar to `box', but defines new procedures in a
27                     named module.
28 box-dynamic         Implements the box type in a dynamically loadable
29                     library.
30 box-dynamic-module  Combination of `box-module' and `box-dynamic': 
31                     Implements the `box' type in a shared library and
32                     defines the procedures in a Guile module.
33
34 modules             Examples for writing and using Guile modules.
35
36 safe                Examples for creating and using safe environments.
37
38 compat              autoconf code for making a Guile extension
39                     compatible with older versions of Guile.
40