Common Lisp 或 Chicken Scheme 有 lint 吗?
Common Lisp 或 Chicken Scheme 有 lint 吗?可能类似于 C 的夹板、Haskell 的 HLint、Perl 的 B::Lint 等?
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.?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
有 Lisp Critic:
http://www.mail-archive.com/<跨度类=“__cf_email__” data-cfemail="2c4b4d5e484942495e5f6c40455f5c4245475f024f4341">[电子邮件受保护]/msg00372.html
There's Lisp Critic:
http://www.mail-archive.com/[email protected]/msg00372.html
PLT 方案有一个静态调试器,称为“MrSpidey”,如果您正在使用“Bigloo”Scheme 编译器,但这就是我能找到的全部。请参阅此有关静态分析器的堆栈溢出问题 /em> 表示方案。
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.
特别是对于 CHICKENScheme,在 4 系列中添加了一个“审查器”,它将对您的数据类型执行(有限的)流分析。特别是如果您将代码放入模块中(可以说使代码成为“封闭的世界”),它对于检测类型错误非常有帮助。
在 4.9.0 及更高版本中,默认情况下启用检查器。在旧版本中,您可以通过 -scrutinize 命令行选项启用它。
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.
不,Common Lisp 没有这样的东西。
No, there is nothing like that for Common Lisp.
sblint ?基于 SBCL 的 Common Lisp 的 linter。
sblint ? A linter for Common Lisp, based on SBCL.