Hacker News new | past | comments | ask | show | jobs | submit

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

https://github.com/jjba23/sift
Looks like a nice tool, but please de-AI-ify your README text.

    `check` answered the question a pipeline asks, whether anything would change, with a status and a patch, and wrote nothing.
How about a nice straightforward:

    `check` returns 0 if the formatting is good. If not, it prints a patch to stdout and returns 1. It never modifies your files.
I don't mind people using AI to write code, or even text, but I think taking some pride in how the project is presented (and that's primarily through good writing) is critical to engaging potential users.
appreciate your tip, thanks
As someone learning Scheme for fun, thank you
Love it if it is useful for you!
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.

What’s the interop story with Sly/Slime?

My thought also. I often use local models for Common Lisp and Scheme coding and edit errors on s-expressions are a time-waster. Using sift with appropriate lisp codings skills might improve things. Worth a try.

After my morning coffee I will try an installation using:

brew install guile ; git clone https://github.com/jjba23/sift.git ~/sift ; ln -s ~/sift/bin/sift /usr/local/bin/sift ; sift version ; sift doctor

You can run SLY / Geiser or any other REPL and that will be a compliment to sift, so you will have an even better experience, LSP + REPL is a really killer combo in my opinion and works well. Only you need to tweak your editor to make good decisions for you in some regards like go to definition (you may see duplicates)
What!?! No support for BLC[0] PIC[1] formatting? :-) (see Programs(BLC) section[0] for format examples.)

-------

[0] : blc : https://esolangs.org/wiki/Binary_lambda_calculus

[1] : PIC : https://en.wikipedia.org/wiki/PIC_(markup_language)

Might need to pick my battles into what I can reasonably support, but contribution is welcome, even for more obscure dialects :)