Setting up an environment on OSX

Discussion of Common Lisp

Setting up an environment on OSX

Postby brewsterkahle » Sun Jun 02, 2013 12:33 pm

I am an old lisper, but I have been having a hard time jumping back in because I can not set up an environment.

For instance, allegro's alisp just timed out and I dont know how to get it back (I installed their IDE, but getting a project going is stumping me)-- I know emacs and can make that work.

Clozure CL64 seems like a workable system, should I use that?

Then I tried to get some software loaded, and I am having a tough time. For instance CL-JSON is available via git, so I cloned that into ~/lisp/cl-json but it has a file cl-json.asd that I think I am supposed to load, but I dont know how.

So my question:
Is there a set of init files I someone recommends? Is there an IRC or forum for folks like me? How should I get this going? Anyone in the bay area that wants to work together on something like this? Thank you!

thank you!

-brewster
brewster@archive.org
brewsterkahle
 
Posts: 2
Joined: Sun Jun 02, 2013 12:25 pm

Re: Setting up an environment on OSX

Postby nuntius » Sun Jun 02, 2013 8:47 pm

ASDF is the current package manager of choice for CL. Those asd files are for ASDF. Install from the ASDF website or using Quicklisp (below).
Quicklisp (http://www.quicklisp.org/beta/) is the current package installer of choice for CL (uses ASDF).
Aquamacs is one of the better Emacs environments on OSX. Install Slime (http://common-lisp.net/project/slime/), possibly using (ql:quickload "quicklisp-slime-helper")
Clozure has excellent CL support on OSX.

As for other places to seek help, there's #lisp on irc.freenode.net or comp.lang.lisp (low activity).
There are a number of mailing lists for specialized questions.
Both http://planet.lisp.org/ and http://www.reddit.com/r/lisp are good for following general news.
User avatar
nuntius
 
Posts: 498
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA

Re: Setting up an environment on OSX

Postby brewsterkahle » Sun Jun 02, 2013 10:25 pm

breakthrough, I am now making real progress.
thank you.
brewsterkahle
 
Posts: 2
Joined: Sun Jun 02, 2013 12:25 pm

Re: Setting up an environment on OSX

Postby Kompottkin » Mon Jun 03, 2013 2:10 am

Here's my usual procedure (assuming the Xcode tools are installed):

Code: Select all
# Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

# Install SBCL and Emacs
$ brew install sbcl
$ brew install emacs --cocoa --srgb
$ brew linkapps

# Install Quicklisp and SLIME
$ curl -O - http://beta.quicklisp.org/quicklisp.lisp
$ sbcl
* (load "quicklisp.lisp")
* (ql:add-to-init-file)
* (ql:quickload "quicklisp-slime-helper")
* (exit)

# Configure Emacs
$ cat >>~/.emacs <<EOF
  (load (expand-file-name "~/quicklisp/slime-helper.el"))
  (setq inferior-lisp-program "/usr/local/bin/sbcl")
EOF

# Done.
User avatar
Kompottkin
 
Posts: 94
Joined: Mon Jul 21, 2008 7:26 am
Location: München, Germany


Return to Common Lisp

Who is online

Users browsing this forum: Google [Bot] and 2 guests