Common Lisp 或 Chicken Scheme 有 lint 吗?

发布于 2024-11-27 08:52:42 字数 90 浏览 7 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

安静被遗忘 2024-12-04 08:52:42

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.

陌上芳菲 2024-12-04 08:52:42

特别是对于 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.

江挽川 2024-12-04 08:52:42

不,Common Lisp 没有这样的东西。

No, there is nothing like that for Common Lisp.

長街聽風 2024-12-04 08:52:42

sblint ?基于 SBCL 的 Common Lisp 的 linter。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文