Crates.io | charon_ariadne |
lib.rs | charon_ariadne |
version | 0.1.0 |
source | src |
created_at | 2022-07-07 17:58:06.471113 |
updated_at | 2022-07-07 17:58:06.471113 |
description | A fancy diagnostics & reporting crate - resigned for crates.io/charon |
homepage | |
repository | https://github.com/zesterer/ariadne |
max_upload_size | |
id | 621326 |
size | 77,883 |
A fancy compiler diagnostics crate.
See examples/
for more examples.
ariadne
is a sister project of chumsky
. Neither are dependent on
one-another, but I'm working on both simultaneously and like to think that their features compliment each other. If
you're thinking of using ariadne
to process your compiler's output, why not try using chumsky
to process its input?
yansi
)ColorGenerator
type that generates distinct colours for visual elements.The API (should) follow semver. However, this does not apply to the layout of final error messages. Minor tweaks to the internal layout heuristics can often result in the exact format of error messages changing with labels moving slightly. If you experience a change in layout that you believe to be a regression (either the change is incorrect, or makes your diagnostics harder to read) then please open an issue.
Thanks to:
@brendanzab
for their beautiful codespan
crate that inspired me to try
pushing the envelope of error diagnostics.
@estebank
for showing innumerable people just how good compiler diagnostics can be through their work on Rust.