Common Lisp homepage
Often those who are curious to try Lisp are faced with a number of choices: Which dialect to choose? Which implementation to choose? Which book or tutorial should one follow? Is it necessary use Emacs? SLIME?<p>Here are my recommendations:<p>- Choose Common Lisp because it has been the most popular dialect of Lisp in the overall history of Lisp. It is more convenient than Scheme if one decides to develop serious software in Lisp. Clojure appears to be more popular in the technology industry than Common Lisp among organizations (my workplace included) that use Lisp. I still recommend Common Lisp because I believe that it is more likely that one would work on an independent open source or hobby Lisp project than one would encounter one of the rare organizations who use Clojure at work.<p>- Choose SBCL (Steel Bank Common Lisp) as the implementation.[1][2] It is the most popular Common Lisp implementation and is recommended in many online discussions. CCL (Clozure CL, not to be confused with Clojure which is a separate dialect) is also another very good implementation. I still recommend SBCL because as a result of its greater popularity, it is readily available via package managers such as brew and apt-get as well IDE packages such as Portacle, Lisp in a Box, etc. CCL is currently missing from both brew and apt-get.<p>- Work through this book: Practical Common Lisp: <a href="http:&#x2F;&#x2F;www.gigamonkeys.com&#x2F;book&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gigamonkeys.com&#x2F;book&#x2F;</a> (available in print too if you search online). Skip the sections about Emacs and SLIME if you don&#x27;t use Emacs.<p>- There is no need to use Emacs if you are not an Emacs user. Any good editor would do.<p>- A Vim user may consider installing Slimv[3][4]. Superior Lisp Interaction Mode for Vim (&quot;SLIME for Vim&quot;) or Slimv is similar to Emacs&#x2F;SLIME, displays the REPL in a Vim buffer, and comes with Paredit mode that makes typing and executing Lisp code quite convenient.<p>- Emacs with SLIME or Vim with Slimv are quite useful but not necessary. To get started quickly without being bogged down by the details of an editor, just execute the Lisp source code file on shell.[5]<p>- Optionally, keep another implementation of Common Lisp. Common Lisp is a standard that is implemented by various implementations. Each implementation may have its own extensions or implementation-specific behaviour regarding error handling, command line options, FASL format, unspecified behaviour, etc. Experimenting with concepts with another implementation of Lisp occasionally may offer some perspective about how some things could be different in different implementations. I keep CLISP around for this purpose.[6][7][8]<p>[1]: Install SBCL on macOS: brew install sbcl<p>[2]: Install SBCL on Debian-based distro: apt-get install sbcl<p>[3]: Slimv in a ZIP file: <a href="https:&#x2F;&#x2F;www.vim.org&#x2F;scripts&#x2F;script.php?script_id=2531" rel="nofollow">https:&#x2F;&#x2F;www.vim.org&#x2F;scripts&#x2F;script.php?script_id=2531</a><p>[4]: Slimv as a Git repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;kovisoft&#x2F;slimv&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kovisoft&#x2F;slimv&#x2F;</a><p>[5]: Load (execute) code in a file and exit: sbcl --script foo.lisp<p>[6]: Install CLISP on macOS: brew install clisp<p>[7]: Install CLISP on Debian-based distro: apt-get install clisp<p>[8]: Unfortunately CLISP is missing from Debian&#x27;s <i>stretch</i> (stable) repository but it is available in its <i>buster</i> (testing) and <i>sid</i> (unstable) repositories. Hopefully this will be addressed when <i>buster</i> becomes stable. CLISP is available on Ubuntu.