brendanzab/codespan
Beautiful diagnostic reporting for text-based programming languages. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 69
- Release rhythm 29
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 106.5
- age_days: 3117
- days_rel: 315
- days_push: 186
- n_releases_24m: 3
Adoption not part of the score
1296 stars · 69 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust library (codespan-reporting) for rendering beautiful, compiler-style diagnostic error messages for text-based programming languages, plus codespan data structures for tracking source code locations. Inspired by the rich error output of Rust and Elm.
Use cases
- render rust-style compiler error messages for my language
- pretty print diagnostics with source snippets and labels
- track byte offsets and line/column positions in source code
- build a compiler or interpreter with nice error output
- show annotated source code spans in a terminal
When to choose
- you are building a compiler, interpreter, or linter in Rust and want high-quality error rendering
- you need source location tracking alongside diagnostic reporting
- you want terminal output similar to rustc or Elm compiler errors
When to avoid
- you need diagnostics in a language other than Rust
- you only need simple logging rather than source-annotated diagnostics
- you need GUI or web-based diagnostic rendering
Facets
library · maturity active
error-handling developer-tools terminal-ui programming-languages developer-tools parsers rust cli cross-platform diagnostics error-reporting compiler-tooling source-locations compiler
2 sources
- readme: https://github.com/brendanzab/codespan · fetched 2026-08-28 · 6bd50b1d1845
- registry_crates: https://crates.io/api/v1/crates/codespan · fetched 2026-08-29 · d8dbc57f8951
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| brendanzab/codespan | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="brendanzab/codespan")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem