,---- | Paul Roberts sakar@stelo.uklinux.net writes: | > Is Guile usable on its own? I thought it was a library designed to | > embed the language into other applications. `---- Yes absolutely. Guile can be used independently as a Scheme interpreter as well as an extension library. Just type "guile" at the prompt, you will get the read-eval-print loop.
To make scripts executable, add this like to the beginning of the script and do chmod +x -----> #!/usr/bin/guile \ -s !# <-----
Unlike other scripting languages, guile lets your have command-line arguments spawn across multiple lines, thats why you have #! and !# interface.
hello.scm: -----> #!/usr/bin/guile \ -s !# (display "Hello GNU") (newline) <-----
Hope this helps