First you need to install an interpreter, in my case I used sbcl .
Once you have established that it is prety simple. On ST2, go to Settings / Package Overview , go to Lisp, add a new Lisp.sublime-settings file 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"]
// }
}
source
share