Utilities for dealing with source code locations.
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:
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 is used in the following projects:
Inspired by rustc's error reporting infrastructure and the codemap crate