← Fri, Nov 13 digest

Sift: LSP, Lint, Format Lisp, Scheme and Emacs Lisp

read article ↗ hn thread ↗

Sift is a new syntax-aware formatter, linter, and language server for Scheme, Emacs Lisp, and Common Lisp, written in Guile 3.0.

summary is enough The README provides a thorough overview of features and commands, but a skim is enough to understand its capabilities and installation requirements.

summary

Sift provides unified formatting, linting, and language server support for Scheme, Emacs Lisp, and Common Lisp using Guile 3.0. By treating code as syntax trees rather than lines, it achieves idempotent and byte-exact whitespace preservation across 92 built-in rules. It integrates with editors via LSP, Flymake, or a WebAssembly version runnable entirely in the browser. However, requiring a Guile runtime may present a hurdle for users outside the Guile ecosystem.

key points

  1. Supports three distinct Lisp dialects by adhering to each language's specific report rather than forcing a compromise syntax.
  2. Implements lossless, idempotent rewriting by treating source files as abstract syntax trees carrying source positions.
  3. Ships as a single Guile script with 92 built-in rules, a full LSP server, and a WebAssembly version runnable in the browser.

who should read it

Lisp developers looking for a unified linting, formatting, and language server tool across multiple dialects.

discussion skeptical

consensus

Commenters find the multi-dialect Lisp support interesting, but many Common Lispers are reluctant to install a Guile runtime for a single tool.

pushback

Some users criticized the README text style as feeling AI-generated, raising concerns about project longevity and quality.

best comment by fjdh ↗

Another comment said:

> Neat! I’m glad lisp tooling is moving along, though having to install guile for a single tool is probably a nonstarter for common lispers.

But I'd argue that this isn't even moving anything along; I'd be very reluctant to use this given the amount of vibe-codedness-smell that it shows. We have the impression right now that a lot of tooling is moving forward, but it's just slop that's likely to get abandoned in the near future.

It raises valid skepticism about the influx of AI-generated utility projects and long-term stewardship.

Generated by an LLM from the article and thread. Check the sources before relying on it.