Is there a lint for Common Lisp or Chicken Scheme? Possibly something akin to C's splint, Haskell's HLint, Perl's B::Lint, etc.?
There's Lisp Critic:
There is a static debugger for PLT Scheme, called "MrSpidey", and "bugloo" if you are using the "Bigloo" Scheme compiler, but that is all I could find. see this Stack Overflow question about static analyzers for scheme.
Specifically for CHICKEN Scheme, in the 4 series a "scrutinizer" has been added, which will perform (limited) flow analysis of your data types. Especially if you put your code inside a module (making the code a "closed world" so to speak), it can be extremely helpful in detecting type mistakes.
In 4.9.0 and later the scrutinizer is enabled by default. In older versions, you can enable it through the -scrutinize command line option.
No, there is nothing like that for Common Lisp.
© 2022 - 2024 — McMap. All rights reserved.
hello world
. If you have a specific question that you need an answer to, I suggest raising a question that answers that question, and/or trying it yourself and asking questions when you meet a dead-end. I'm sorry if my response made you think I could answer the question, but that's not a reality in this case. Please, create a new question for your inquiries; I was focusing on C-Lisp Lint parsers. Also note, in some circumstances you're better off deleting a question than editing it. – Wandawander(defun (compiler:style-checker ...) ...)
stuff probably does is define some kind of hook into the built-in style-checking framework provided by the Symbolics Common Lisp compiler. It is not at all clear whether and how it could be adapted to some other CL implementation. That said, the checking rules themselves could probably be lifted somehow if you were to write your own lint-like tool. – Fairtrade