Skip to content

Utilities for dealing with source code locations and pretty diagnostic formatting

License

Notifications You must be signed in to change notification settings

wycats/codespan

 
 

Repository files navigation

codespan

Build Status Crates.io Docs.rs Gitter

Utilities for dealing with source code locations.

Supporting crates

Codespan also allows you to easily set up pretty diagnostic formatting for command line interfaces via the codespan-reporting crate. This will give you output that looks like the following:

screenshot

Rustdoc

In the future we would also like to make it easy for language developers to set up language server protocols and interface with browser-embedded editors like Ace or Monaco.

Codespan in use

Codespan is used in the following projects:

Acknowledgments

Inspired by rustc's error reporting infrastructure and the codemap crate

About

Utilities for dealing with source code locations and pretty diagnostic formatting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%