LIVE

Sift Tool Brings Unified Linting and Formatting to Lisp Dialects

🧠 AI Analysis 2 min read 👁 5

A new developer tool called Sift has been released to provide consistent linting, formatting, and language server capabilities for Scheme, Emacs Lisp, and Common Lisp.

Sift Tool Brings Unified Linting and Formatting to Lisp Dialects🧠AI Analysis

Photo: Hacker News Front Page

Key points

  • Supports Scheme, Emacs Lisp, and Common Lisp dialects.
  • Implements lossless rewriting to preserve comments and formatting.
  • Provides LSP integration for editors like Emacs and Neovim.
  • Requires only Guile 3.0 with no additional C dependencies.

Sift, a recently released development tool, offers a unified approach to managing Lisp source code. It functions as an idempotent formatter, a rule-based linter, and a language server, supporting Scheme, Emacs Lisp, and Common Lisp. By treating Lisp code as a tree of forms rather than simple text, the tool ensures that formatting changes remain lossless, preserving comments and specific read-time forms during the rewrite process.

The software is built on Guile 3.0 and is designed to operate without C dependencies or complex build steps. It provides a consistent interface for both command-line pipelines and text editors, with support for clients like Eglot and Neovim through the Language Server Protocol (LSP). Users can perform tasks such as checking code style, applying automated fixes, and sorting imports via a single executable.

Assessment: This tool highlights the enduring relevance of Lisp development environments and the ongoing need for standardized tooling in niche programming ecosystems. By abstracting the differences between Lisp dialects into a single, cohesive workflow, Sift simplifies maintenance for developers working across multiple Lisp variants. Its focus on non-destructive formatting and LSP integration reflects modern expectations for developer productivity tools in specialized languages.

Source Hacker News Front Page — github.com/jjba23/sift ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.