README 707 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. -*- outline -*-
  2. * Overview
  3. This directory includes examples which show how to write scripts using
  4. Guile.
  5. The descriptions below assume that you have a working copy of Guile
  6. installed and available with the standard installation prefix
  7. `/usr/local'.
  8. * Included Examples
  9. ** simple-hello.scm
  10. The simplest "Hello World!" program for Guile. Run it like this:
  11. $ guile -s simple-hello.scm
  12. ** hello
  13. An advanced version of the script above, with command line handling
  14. for the important options --help and --version. Run it like this:
  15. ./hello
  16. or
  17. guile -s hello
  18. ** fact
  19. Command-line factorial calculator. Run it like this:
  20. ./fact 5
  21. to calculate the factorial of 5.