1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/examples/scripts
2001-05-31 15:54:25 +00:00
..
fact Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00
hello Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00
Makefile.am Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00
README Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00
simple-hello.scm Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00

							       -*- text -*-

This directory includes examples which show how to write scripts using
Guile.

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

simple-hello.scm:

  The simplest "Hello World!" program for Guile. Run it like this:

  $ guile -s simple-hello.scm

hello:

  An advanced version of the script above, with command line handling
  for the important options --help and --version.  Run it like this:

  ./hello

  or

  guile -s hello

fact:

  Command-line factorial calculator.  Run it like this:

  ./fact 5

  to calculate the factorial of 5.