📜 ⬆️ ⬇️

Common Lisp IDE


Good day, dear reader!
Before every newbie in the world of Common Lisp programming language
there is a problem of choosing the development environment - Integrated Development Environment (hereinafter, IDE ).

There is a large number of IDE for Common Lisp . Here are some of the most common ones:

For connoisseurs
Connoisseurs may object to the last two items on the list.
After all, it would seem Lispbox = Emacs + Slime ?!
But, if you look closely at the Lispbox website, then, under the links for downloading the package, you will see:
Last updated: February 6, 2011.

In this article I will explain in detail how to install and configure Common Lisp cross-platform development environment, how to download and install additional libraries using quicklisp , the package manager for Common Lisp . There will be many useful links to resources and materials on the language.
It's about a bunch of GNU Emacs & Slime.
If you are interested in Common Lisp , you need a cross-platform , powerful , interactive Common Lisp IDE with blackjack and ladies debugger and disassembler (all of a sudden!) , Then please…


')

Choice of implementation of Common Lisp


Common Lisp is an ANSI standardized programming language that does not have a single canonical implementation.
I will give a list of the main implementations:

We need a cross-platform, free, avtivno developing Common Lisp implementation . I chose SBCL .
So, let's begin!!!

Preparatory work


MS Windows



GNU / Linux (deb-based distributives)




Emacs setup


It's time to set up Emacs for professional work with Common Lisp projects.
A warning
All further configuration work will take place in GNU Emacs .
Everything below applies to both MS Windows and GNU / Linux .
Means mastering the basics of editing in Emacs .

Open for editing the .emacs file. Go!

Save the .emacs file and restart Emacs .
Emacs will download and install Slime , Smartparens and Auto Complete automatically to the directory
C: \ Users \% username% \. Emacs.d \ for MS Windows and to the ~ / .emacs.d / directory on GNU / Linux .
A warning
Written by us, just now, the .emacs configuration file is cross-platform!
When transferring from Linux to Windows and vice versa, nothing needs to be changed!
The main thing is to place .emacs in the desired directory ( creating an environment variable
HOME for MS Windows is a must! ).

Celebrating early, you need to set up quicklisp , the package manager for Common Lisp .

Install and configure quicklisp


Quicklisp is a batch manager for the Common Lisp language .

For example, install a couple of libraries for Common Lisp using quicklisp :

For Common Lisp , a large number of quality libraries have been written for all occasions.
With quicklisp, they are easy to install and use.
Actually, you now have everything you need to plunge into the world of Common Lisp !
Congratulations!

useful links


Source: https://habr.com/ru/post/259737/


All Articles