1. Emacs For Os X

Setting up for Common Lisp development on Mac OS X

Emacs 26.3 is a maintenance release. New GPG key for GNU ELPA package signature checking. Emacs 26.2 Released Apr 12, 2019. Emacs 26.2 has a wide variety of new features, including: Emacs modules can now be built outside of the Emacs tree source. Emacs is now compliant with the latest version 11.0 of the Unicode Standard. see Emacs in Microsoft Windows FAQ Mac. Emacs is installed on macOS by default, but a very old version, version 22.1, dated 2007. In terminal, type: which emacs → check if emacs is installed and in your path. Emacs -version → print version. Emacs → launch emacs. (to quit, press Ctrl+x Ctrl+c) Download Latest Emacs for MacOS. May 21, 2020 Download the latest version of Emacs for Mac - GNU Emacs editor for OS X. Read 11 user reviews of Emacs on MacUpdate.

High-level overview:

  • Download and install SBCL (http://www.sbcl.org/)

  • Download and install Aquamacs (http://aquamacs.org/)

  • Download and install Quicklisp (http://www.quicklisp.org/)

  • Configure everything so that it plays nice together.

Download and install SBCL

Download Emacs For Mac Os

There are several good Common Lisp implementations on Mac OS X. I happen touse SBCL because it worked better with lispbuilder-sdl last time I triedit, so that’s the one I cover here. Clozure CL (http://ccl.clozure.com/)is also very good.

Unfortunately, the SBCL maintainers don’t keep the pre-built Mac version up todate, so getting the latest SBCL is a two-step process on Mac OS X. First, hitSBCL’s download page and download both the latest source (1.0.45 at thetime of writing) and the latest Mac binary (1.0.29). I’m using a 64-bit SBCL,but 32-bit should work fine as well.

Update: This has changed recently; the last several releases of SBCL have beenpre-built for Mac OS X, so you can just grab one of those.

Aoe2 for mac free download. The download only contains an incremental update to the actual product, which has to be acquired separately. 3 months free with 1-year plan. Download Now. Mac OS X 10.3.9/10.4 Intel/10.4. Jul 22, 2018. Nov 29, 2018.

Now fire up Terminal, switch to where you downloaded SBCL, unpack and installit:

That’ll install SBCL into /usr/local/bin. At this point you should be able torun sbcl and get a Lisp prompt:

Hit Control-D or type (quit) to exit.

Now you can run w/ that version, or if you want the latest/greatest you mayneed to build it. (Note: you may need Apple’s developer tools installed forthis; I can’t remember.) Go back to your downloads directory and unpack thesource distribution:

Now you’ll have the latest and greatest SBCL installed.

Download and install Aquamacs

Aquamacs (http://aquamacs.org/) is an Emacs distribution customized torun nicely on Mac OS X. It obeys all the normal Mac shortcut keys, printswell, that sort of thing. Download it, open it up and drag theapplication to your Application directory as you would any other Mac app.

Download and install Quicklisp

Download Quicklisp from http://www.quicklisp.org/. (It’s in beta at thetime this was written, but it’s fully functional and awesome). Download theinstall file (http://beta.quicklisp.org/quicklisp.lisp at the time ofwriting) and save it to disk somewhere easy to find.

Next, run sbcl and type in the following:

After it loads, run:

That’ll download the rest of the system and get it set up for you. Quicklispwill install by default in ~/quicklisp; you can change that by passing :path'/target/path/' to the install function.

Finally, run:

That’ll add Quicklisp to your init file so that anytime you run SBCL Quicklispwill be loaded and ready to go.

Now go ahead and read on http://www.quicklisp.org/ about how to use it.It’s very easy to search for and install Common Lisp libraries. For example,to get ahold of “ieee-floats” for the previous entry, just run:

That will download the library if it hasn’t already and load it into your CLenvironment for you.

Configure everything so that it plays nice together

SBCL and Quicklisp are already playing nicely together at this point; you justneed to let Aquamacs know about them.

First in SBCL run:

This’ll install SLIME for you,an awesome Common Lisp development environment. It should give you a line toadd to your .emacs configuration file:

Aquamacs will use .emacs, but they recommend keeping your configuration in~/Library/Preferences/Aquamacs Emacs/Preferences.el. Either will work. You’llneed to both tell Aquamacs how to start your Lisp environment and add theabove line to tell it how to find SLIME. To do that, add the following to yourPreferences.el:

At this point, you should be ready to go. To try it all out, launch Emacs,type Alt-x (Meta-x, technically), and type in “slime”. Hit enter and youshould find yourself at a CL-USER prompt within Emacs.

Emacs For Os X

Now, actually learning to use SLIME is well beyond the scope of this entry.For that, I recommend Peter Seibel’s Practical Common Lisp. Chapter2 covers getting around both in Emacs and SLIME.