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

(github.com)

60 points | by jjba23 1 day ago

4 comments

  • widdershins 3 hours ago
    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.
    • jjba23 2 hours ago
      appreciate your tip, thanks
  • vegnus 10 hours ago
    As someone learning Scheme for fun, thank you
    • jjba23 6 hours ago
      Love it if it is useful for you!
  • stackghost 7 hours ago
    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?

    • jjba23 6 hours ago
      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)
  • sargstuff 8 hours ago
    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)

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