mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
safe/evil.scm, safe/README, modules/README, modules/main, modules/module-0.scm, modules/module-1.scm, modules/module-2.scm: Minor cleanup. * README: Added intro stuff, restructured a bit. * box-dynamic/README, box-module/README, box/README: Cleanup and restructuring. * box-dynamic-module/box-mixed.scm: New file, demonstrating usage of extension library functionality, but without exporting procedures from the library. Thanks to Thomas Wawrzinek for the idea and example code! * box-dynamic-module/box-module.scm: Add comments, export make-box, box-ref, box-set!. * box-dynamic-module/README: Integrate new module (box-mixed), restructure and cleanup a bit.
36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
-*- outline -*-
|
|
|
|
* Overview
|
|
|
|
This directory contains examples illustrating various aspects of Guile
|
|
programming.
|
|
|
|
If you plan writing Scheme programs, have a look at the `scripts'
|
|
directory. To learn more about Guile modules, check out the `modules'
|
|
directory, and maybe the `box-module' and `box-dynamic-module'
|
|
directories, if you are into C programming or shared libraries,
|
|
respectively. The `safe' directory contains examples for evaluation
|
|
Scheme code in controlled environments (sandboxing). The directories
|
|
`box', `box-module', `box-dynamic' and `box-dynamic-module' are
|
|
interesting if you plan writing Guile extensions.
|
|
|
|
See the README files in the subdirectories for details.
|
|
|
|
|
|
* Included Examples
|
|
|
|
scripts Examples for writing simple scripts in Guile Scheme.
|
|
|
|
box Example for extending Guile with a new data type.
|
|
|
|
box-module Similar to `box', but defines new procedures in a
|
|
named module.
|
|
box-dynamic Implements the box type in a dynamically loadable
|
|
library.
|
|
box-dynamic-module Combination of `box-module' and `box-dynamic':
|
|
Implements the `box' type in a shared library and
|
|
defines the procedures in a Guile module.
|
|
|
|
modules Examples for writing and using Guile modules.
|
|
|
|
safe Examples for creating and using safe environments.
|