BSD Ports

editors/sly 1.0.43.20240809_1 DragonFly

Sylvester the Cat's Common Lisp IDE for Emacs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PD
Categories
editors, elisp
Package size
1545.3 KiB, 4429.3 KiB installed

Description

SLY is a fork of SLIME. We track its bugfixes, particularly to the implementation backends. All SLIME's familiar features (debugger, inspector, xref, etc...) are still available, with improved overall UX.

SLY's highlights are:

  • A full-featured REPL based on Emacs's comint.el. Everything can be copied to the REPL.
  • Stickers, or live code annotations that record values as code traverses them.
  • Flex-style completion out-of-the-box, using Emacs's completion API. Company, Helm, and other supported natively, no plugin required.
  • An interactive Trace Dialog.
  • Cleanly ASDF-loaded by default, including contribs, enabled out-of-the-box.
  • Multiple inspectors and multiple REPLs.
  • "Presentations" replaced by interactive backreferences which highlight the object and remain stable throughout the REPL session.
  • Support for NAMED-READTABLES, macrostep.el and quicklisp.
  • A portable, annotation-based stepper in early but functional prototype stage.

In the other systems

The newest version among them is 1.0.43.20240809, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyeditors/sly1.0.43.20240809_1 newestnone known-[email protected]-
FreeBSDeditors/sly1.0.43.20240809_3 newestnone known-[email protected]-
HardenedBSDeditors/sly1.0.43.20240809_3 newestno data-[email protected]-
GhostBSDeditors/sly1.0.43.20240809_3 newestno data-[email protected]-

Install

Binary package:

pkg install sly

From DPorts:

cd /usr/dports/editors/sly && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
sly-emacs_nox-1.0.43.20240809_1, sly-emacs_canna-1.0.43.20240809_1, sly-emacs_devel-1.0.43.20240809_1, sly-emacs_wayland-1.0.43.20240809_1, sly-emacs_devel_nox-1.0.43.20240809_1

Message after installing

To enable autoloading of SLY, add this to some Emacs init file:
(require 'sly-autoloads)

You should specify some Lisp implementation. This works for both SLY and SLIME:
(setq inferior-lisp-program "path_to_your_lisp_binary")
SLY however has convenient specific variables for more complex
configurations. E.g.:
(setq sly-default-lisp 'sbcl
      sly-lisp-implementations '((sbcl ("sbcl"))))
Please see their documentation.

Contribs in `sly-contribs' list are automatically loaded and enabled (and those
not in it are disabled) each time a new session is launched, or `sly-setup' is
called. If you define `sly-contribs' in some initialization file, be sure to
include sly-fancy in it (instead, you can add to the list using `add-to-list',
after the `require' above).

If you just want to immediately enable a contrib, you can instead use
`sly-enable-contrib', but be aware that the effect will be temporary. It will
last up to the next connection established or `sly-setup' call, unless you add
the contrib to `sly-contribs' in the meantime.