为基于文本的编程语言提供美观的诊断报告。
Beautiful diagnostic reporting for text-based programming languages.
Languages like Rust and Elm already support beautiful error reporting output,
but it can take a significant amount work to implement this for new programming
languages! The codespan-reporting crate aims to make beautiful error
diagnostics easy and relatively painless for everyone!
We're still working on improving the crate to help it support broader use cases, and improving the quality of the diagnostic rendering, so stay tuned for updates and please give us feedback if you have it. Contributions are also very welcome!
…To get an idea of what the colored CLI output looks like, clone the repository and run the following shell command:
cargo run --example termMore examples of using codespan-reporting can be found in the
examples directory.
codespan-reporting is currently used in the following projects:
... any many more
There are a number of alternatives to codespan-reporting, including:
These are all ultimately inspired by rustc's excellent error reporting infrastructure.
A guide to contributing to codespan-reporting can be found here.
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.
暂无开放 Issues,或尚未同步最近议题。