chai2010
V2EX  ›  Rust

Rustc 源码学习 - Lint 与 LintPass

  •  
  •   chai2010 · Aug 15, 2022 · 1618 views
    This topic created in 1365 days ago, the information mentioned may be changed or developed.

    在 KusionStack 技术栈中( https://github.com/KusionStack/kusion ),KCL 配置策略语言是重要的组成部分之一。为了帮助用户更好的编写 KCL 代码,我们也为 KCL 语言开发了一些语言工具,Lint 就是其中一种。Lint 工具帮助用户检查代码中潜在的问题和错误,同时也可以用于自动化的代码检查,保障仓库代码规范和质量。因为 KCL 语言由 Rust 实现,一些功能也学习和参考了 Rustc 。本文是在学习 Rustc 过程中的一些思考和沉淀,在这里做一些分享。

    https://zhuanlan.zhihu.com/p/553851089

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1213 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:29 · PVG 07:29 · LAX 16:29 · JFK 19:29
    ♥ Do have faith in what you're doing.