Sift Tool Brings Unified Linting and Formatting to Lisp Dialects
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.
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 ↗
Read next
🏢Big TechUnited Launch Alliance Investigates Vulcan Rocket Failure
United Launch Alliance is investigating a mission failure of its Vulcan rocket, which suffered from low booster performance shortly after liftoff. The incident raises que…
🌐Work & SocietyUS Southwest Hydropower Output Hits Record Lows Amid Persistent Drought
Hydropower generation in the US Southwest dropped 28% below the 10-year average this summer as record-low water levels in the Colorado River Basin threaten regional energ…
🏢Big TechYouTube Updates View Metrics to Include TV Co-Viewing Estimates
YouTube is incorporating estimated co-viewing data into its public view counts to better reflect group consumption on television sets.
Apple Services Experience Widespread Outage
Apple users are reporting significant disruptions across iCloud, the App Store, and other core services, despite initial discrepancies in the company's status reporting.
⚖️Regulation & PolicyOpenAI Partners with Chilean Ministry to Advance Public Sector AI
OpenAI has signed a non-binding agreement with Chile's science ministry to integrate artificial intelligence into public administration and support local startups.
🌐Work & SocietyAmbience Healthcare Expands Clinical AI Suite for Hospital Operations
Ambience Healthcare has launched new AI tools designed to assist hospital staff with patient rounding and discharge planning, aiming to improve both clinical efficiency a…