;;; 
;;; README-clisp
;;; 
;;; This file contains notes on compiling the clisp version of TCA.
;;; It assumes that you have a recent copy of the clisp source and related
;;; clisp documentation.  The installation prodecure is not fully automated
;;; and requires some changes to the GNUmakefile.
;;; 
;;; 

;;; In this file, comments start with ";;;" and commands do not.

;;; Commands for making the clisp version of tca,
;;; assuming that the clips code is in 
;;; /afs/cs.cmu.edu/project/TCA/members/rich/clisp and the tca code is
;;; in ~/TCA/members/rich/tca/lisp

setenv CLISP_DIR /afs/cs.cmu.edu/project/TCA/members/rich/clisp/clisp-1996-03-14
setenv TCA_DIR /afs/cs/project/TCA/release/alpha

cd $TCA_DIR/src
gmake -k -w clean ../lib/libtca_lisp.a CFLAGS_LISP="-DLISP -DCLISP"
cd ../lisp
gmake -k -w clisp

;;; There will be many warnings during the compile.  Most, if not all
;;; can be ignored.

;;; To run clisp:

$CLISP_DIR/base+tca/lisp.run -M $CLISP_DIR/base+tca/lispinit.mem -i $TCA_DIR/lisp/tca.lisp

;;; For running tests for TCA:

(load "~/TCA/members/rich/tca/lisp/sample.lisp")
(load "~/TCA/members/rich/tca/lisp/a1.lisp")
(load "~/TCA/members/rich/tca/lisp/b1.lisp")

(a1 "poisonivy")
(b1 "poisonivy")

