Build Lisp code in SublimeText2

lisp, macos, sublimetext

Solution

First you have to install interpreter, in my case I used sbcl.

After installing that it's prety simple. On ST2 go to Preferences/Browse Packages, go to Lisp, add a new file Lisp.sublime-settings with:

{
    "cmd": ["sbcl", "--script", "$file"],
    "working_dir": "${project_path:${folder}}",
    "selector": "source.lisp",
    "osx":
    {
        "cmd": ["/opt/local/bin/sbcl", "--script", "$file"]
    },
    // exemple in windows with CLISP
    "windows":
    {
        "cmd": ["clisp", "$file"]
    }
    // exemple in windows with SBCL
    // "windows":
    // {
    //  "cmd": ["sbcl", "--script", "$file"]
    // }
}

Problem

Any way to build&run common lisp in ST2 on mac os? I know about SLIME and Emacs, but i'm interested in ST

Original source