Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a lint for Common Lisp or Chicken Scheme?

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.?

like image 850
mcandre Avatar asked Aug 01 '11 00:08

mcandre


5 Answers

There's Lisp Critic:

http://www.mail-archive.com/[email protected]/msg00372.html

like image 101
Rob Myers Avatar answered Nov 07 '22 14:11

Rob Myers


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.

like image 20
2 revs Avatar answered Nov 07 '22 14:11

2 revs


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.

like image 40
sjamaan Avatar answered Nov 07 '22 14:11

sjamaan


No, there is nothing like that for Common Lisp.

like image 3
Xach Avatar answered Nov 07 '22 13:11

Xach


sblint ? A linter for Common Lisp, based on SBCL.

like image 2
Ehvince Avatar answered Nov 07 '22 12:11

Ehvince