5 ms·
Elsa: Emacs Lisp Static Analyzer
- dreamcompiler 7y agoI need this for Common Lisp.
- pcr910303 7y ago> I need this for Common Lisp. Maybe sblint[0] might help? It's a pity that the CL userbase is so small and that most of the userbase doesn't think that the small userbase is a problem. :-( [0] https://github.com/fukamachi/sblint https://github.com/fukamachi/sblint
- phoe-krk 7y agoThe SBCL compiler already emits a lot of style-warnings and notes when it compiles code - these warnings serve as a good enough linter for me.
- zulu-inuoe 7y agosomething something "Can we get a static analysis tool?" "No we already have a static analysis tool at home" Static Analysis Tool At Home: sbcl --load
- TeMPOraL 7y agoNot nearly enough, thought with safety declarations cranked up to 11 (to 3, really) and enough type declarations sprinkled around the code, it becomes serviceable as a tool.
- thenonameguy 7y agoClojure equivalent: https://github.com/borkdude/clj-kondo https://github.com/borkdude/clj-kondo
- alexeiz 7y agoAnd spark joy it does!
- hestefisk 7y agoOnly Sun can sparc Joy.
- nonbirithm 7y agoReally interesting. Some of the project inspirations listed are tools to rewrite Clojure source code. Recently I wanted something equivalent for Lua so I started writing one[0]. Refactoring in dynamic languages is harder that in needs to be a lot of times, but static analysis combined with whitespace-preserving ASTs would really help. [0] https://github.com/Ruin0x11/yalf https://github.com/Ruin0x11/yalf
- rcdwealth 7y agoThis is too complex. There is nice function elint-current-buffer that helps me with basic corrections.
- showdeadplease 7y agoEmacs is too complex. There is nice editor `ed` that helps me with basic corrections.
- hestefisk 7y agoLine by line.
- jhayward 7y agoWhat about it do you find complex?
- moomin 7y agoPerfect product name.
- edeion 7y agoI can't find a reference to ELIZA even though I'm sure they (and maybe you) had this in mind. https://en.m.wikipedia.org/wiki/ELIZA https://en.m.wikipedia.org/wiki/ELIZA
- deleted 7y ago[deleted]
- tobr 7y ago> (Your favourite princess now in Emacs!) Pretty sure they just had Elsa in mind.
- k_sze 7y agoNow we just need to wait for it to make your computer freeze over. Ba dum tss!
- dtaverascmu 7y agowow!!
- yorozu 7y agoWhy can't it be run directly in Emacs (instead of via cask)?