Guile Notes

default

 
To run guile interpreter:
guile

(+ 20 30)
Add 20 and 30


Save a file as: later.scm
-------------------------
#!/usr/local/bin/guile -s
!#

(display "Later World!")
(newline)
-------------
end-later.scm

The !# is used to terminate the shebang style comment.
This is the guile way of doing this.

To run a file:
guile later.scm

To run from inside interpreter; load it:
guile
(load "later.scm")



default