Skip to content
vindarel edited this page Nov 6, 2024 · 13 revisions

Lem is the editor/IDE well-tuned for Common Lisp.

Build Status Backers on Open Collective Sponsors on Open Collective

After installing lem, you can start developing in Common Lisp at once.

You can skip over writing tidy settings or installing many plugins as you do on Emacs.

Screenshot

Terminal  

Requirement

The official installation requires:

  • ncurses
  • SDL2

You can also use Docker: see https://github.com/40ants/lem-docker

Please first check Lem's website here: https://lem-project.github.io/installation/ncurses/linux/

for MacOS: https://lem-project.github.io/installation/ncurses/macos/

and for Windows: https://lem-project.github.io/installation/ncurses/windows/

Platform

Installation

Find Lem 2.0 binaries on the releases page.

Building from sources

Install the dependencies. Those are for a Debian system:

sudo apt install sbcl curl git

Now run the following script. You should check it ;) It uses sudo to install more dependencies than ncurses.

curl -L https://lem-project.github.io/linux_installer.sh | bash

Important places from the script installation:

  • $HOME/common-lisp/lem (Lem installation location)
  • /usr/local/bin/lem (Lem symlink)

From a Common Lisp editor

In your editor, you can pull Lem sources, load the lem.asd package definition and execute "(ql:quickload :lem-ncurses)" then "(lem:lem)" to start Lem.

With Roswell (deprecated)

You can use roswell to install Lem, but it isn't the primary method anymore, Lem can be installed without it.

See Roswell Installation Guide

After that, please follow the steps bellow.

1. install lem by roswell
$ ros install cxxxr/lem

2. add the PATH in the initialization file(such as ~/.bashrc)
export PATH=$PATH:~/.roswell/bin

Usage

$ lem <filename.lisp>

You can watch the screencast on Youtube.

Screencast

SDL2 version (new in Lem 2.0)

See the Lem 2.0 releases to download binaries.

To install from sources, follow the instructions on the README here: https://github.com/lem-project/lem/blob/master/frontends/sdl2/README.md

Notes

  • For Rasberry Pi users: You need to use CCL(Clozure Common Lisp).
    Please change the CL implementation to CCL as follow:
$ ros use ccl-bin

Contributors

This project exists thanks to all the people who contribute. [Contribute].

License

MIT