DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(guile.info.gz) Guile Scripts

Info Catalog (guile.info.gz) Running Guile Interactively (guile.info.gz) Whirlwind Tour (guile.info.gz) Linking Programs With Guile
 
 5.2 Guile Scripts
 =================
 
 Like AWK, Perl, or any shell, Guile can interpret script files.  A Guile
 script is simply a file of Scheme code with some extra information at
 the beginning which tells the operating system how to invoke Guile, and
 then tells Guile how to handle the Scheme code.
 
    Before we present the details, here is a trivial Guile script:
 
      #!/usr/local/bin/guile -s
      !#
      (display "Hello, world!")
      (newline)
 

Menu

 
* The Top of a Script File    How to start a Guile script.
* Scripting Examples          Simple Guile scripts, explained.
 
Info Catalog (guile.info.gz) Running Guile Interactively (guile.info.gz) Whirlwind Tour (guile.info.gz) Linking Programs With Guile
automatically generated byinfo2html