1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
guile/examples/scripts
2001-07-27 16:11:13 +00:00
..
.cvsignore * .cvsignore: here and in all subdirectories listing Makefile and 2001-06-02 04:58:55 +00:00
check.test Check in forgotten test scripts. 2001-07-27 16:11:13 +00:00
fact * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
hello (display-version, display-help): Fix comment; nfc. 2001-07-10 20:49:48 +00:00
Makefile.am Minor typo fix in NEWS. 2001-07-26 05:31:57 +00:00
README * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
simple-hello.scm * 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 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'.

* Included Examples


** 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.