1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
guile/examples/modules
Martin Grabmüller 211e9d8a0d * box-module/Makefile.am (TESTS): New variable.
Create `box' on `make all'.

	* box-module/check.test, box-dynamic-module/check.test,
	* box-dynamic/check.test: New files.

	* box-dynamic/Makefile.am (libbox): Create box library on `make
	all'.
	(TESTS): New variable.

	* box/Makefile.am (TESTS): New variable.
	Create `box' program on `make all', use freshly built Guile for
	building.

	* box/check.test: New file.

	* modules/check.test, safe/check.test, scripts/check.test: Set
	GUILE_LOAD_PATH to make the tests run without installed Guile.
2001-07-17 17:12:33 +00:00
..
.cvsignore * .cvsignore: here and in all subdirectories listing Makefile and 2001-06-02 04:58:55 +00:00
check.test * box-module/Makefile.am (TESTS): New variable. 2001-07-17 17:12:33 +00:00
main * examples/modules/main: Use :renamer for specifying renaming procedure. 2001-07-14 11:11:13 +00:00
Makefile.am * modules/check.test, safe/check.test: New files. 2001-07-16 17:44:22 +00:00
module-0.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
module-1.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
module-2.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
README * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00

							       -*- outline -*-

* Overview

This directory includes examples which show how to write and use Guile
modules in Scheme programs.

The descriptions below assume that you have a working copy of Guile
installed and available with the standard installation prefix
`/usr/local'.


* Included Examples


** main

  The main program, which uses the modules described below to perform
  some actions.  Module usage and selective importing as well as
  renaming is demonstrated here.n

  $ ./main

  or

  guile -s main

** module-0.scm, module-1.scm, module-2.scm
 
  Two modules which export several procedure, some of which have the
  same names (so that renaming/selection is required for proper
  importing).