2013年1月15日 星期二

SBCL


Steel Bank Common Lisphttp://www.sbcl.org/ )

ubuntu:

Install SBCL

    ~$ sudo apt-get install sbcl
installed to
    /usr/bin
    /usr/lib
    /usr/share/doc

Running SBCL

    ~$ sbcl
    * (quit)     ;quit sbcl



ASDF: Another System Definition Facility http://common-lisp.net/project/asdf/ )

Install 

    ~$ sudo apt-get install cl-asdf
install to
    /usr/lib/asdf

SHOP2

Simple Hierarchical Ordered Planner (http://www.cs.umd.edu/projects/shop/)

~$ sbcl
* (require :asdf)
* (push "/home/user/experiment/shop2/" asdf:*central-registry*)    ;push shop2 folder path to asdf
* (asdf:oos 'asdf:load-op "shop2")    ;load shop2 in asdf
* (load "~/experiment/basic")    ;load shop2 domain, problem & plan which you define