{"by":"ufo5260987423","descendants":2,"id":47133716,"kids":[47155649],"score":52,"text":"Scheme-langserver digest incomplete Scheme code to serve real-world programming requirements, including goto-definition, auto-completion, type inference and such many LSP-defined language feature supports.  And this project is based here(<a href=\"https:&#x2F;&#x2F;github.com&#x2F;ufo5260987423&#x2F;scheme-langserver\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;ufo5260987423&#x2F;scheme-langserver</a>).<p>I built it because I was tired of Scheme&#x2F;Lisp&#x27;s raggy development environment, especially of the lack of IDE-like highly customized programing experience. Though DrRacket and many REPL-based counterparts have don&#x27;t much, following general cases aren&#x27;t reach same-level as in other modern languages:\n(let* ([ready-for-reference 1]<p><pre><code>         [call-reference (+ ready-for-)]))\n\n</code></pre>\nApparently, the  `ready-for-` behind `call-reference` should trigger an auto-complete option, in which has a candidate `ready-for-reference`.  Besides, I also know both of them have the type of number, and their available scope is limited by `let*`&#x27;s outer brackets. I wish some IDE to provide such features and such small wishes gradually accumulated in past ten years,  finally I wasn&#x27;t satisfied with all the ready-made products.<p>If you want some further information, you may refer my github repository in which has a screen-record video showing how you code get help from this project and this project has detailed documentation so don&#x27;t hesitate and use it.<p>Here&#x27;re some other things sharing to Hacker News readers:<p>1. Why I don&#x27;t use DrRacket: LSP follows KISS(Keep It Simple, Stupid) principle and I don&#x27;t want to be involved with font things as I just read in its github issues.<p>2. What&#x27;s the newest stage of scheme-langserve: It achieves kind of self-boost, in which stage I can continue develop it with its VScode plugin help.  However, I directly used Chez Scheme&#x27;s tokenizer and this leaded to several un-caught exceptions whom I promise to be fixed in the future, but I&#x27;m occupied with developing new feature. If you feel something wrong with scheme-langserver, you may reboot vscode, generally this always work.<p>3. Technology road map: I&#x27;m now developing a new macro expander so that the users can customize LSP behavior by coding their own macro and without altering this project. After this, I have a plan to improve efficiency and fix bugs.\n4. Do I need any help: Yes. And I&#x27;d like to say, talking about scheme-langserver with me is also a kind of help.<p>5. Long-term View: I suspect  2 or 3 years later I will lose concentration on this project but according some of my friends, I may integrate this project with other fantastic work.","time":1771916035,"title":"Show HN: Scheme-langserver – Digest incomplete code with static analysis","type":"story","url":"https://github.com/ufo5260987423/scheme-langserver"}