UMBC CMSC 331 Principles of Programming Languages

 

Using CLISP on gl.umbc.edu

Here is a session that shows CLISP being used on one of the linux machnes on gl.umbc.edu.
Last login: Mon Nov 10 17:36:56 2003 from aibo.cs.umbc.edu
  UMBC Unified Computing Environment                 http://www.gl.umbc.edu/
   ... your machine into "Linux" and work locally!

linux1[31] % cd ~/lisp                                                                                                          
linux1[32] % dir
test.lsp
linux1[33] % more test.lsp
(defun hello-world () "hello world")
linux1[34] % clisp
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2001


[1]> (load 'test)
;; Loading file /afs/umbc.edu/users/f/i/finin/home/lisp/test.lsp ...
;; Loading of file /afs/umbc.edu/users/f/i/finin/home/lisp/test.lsp is finished.
T
[2]> (hello-world)
"hello world"
[3]> (exit)
Bye.
linux1[35] %