ariadne
A fancy diagnostics & error reporting crate (by zesterer)
rust-langdev
Language development libraries for Rust (by Kixiron)
ariadne | rust-langdev | |
---|---|---|
18 | 12 | |
1,569 | 837 | |
- | - | |
7.1 | 2.2 | |
3 days ago | 2 days ago | |
Rust | ||
MIT License | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ariadne
Posts with mentions or reviews of ariadne.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-12.
-
What languages have the best error message rendering styles in the terminal?
To complement, Nushell's error rendering is done with miette (whose name is a reference to this cute meme AFAIK). There is also another notable Rust error rendering lib: ariadne. So you can get the same beautiful error rendering in your own projects :D
-
Looking for error reporting package for compilers
Hey gophers, I'm looking for something like this https://github.com/zesterer/ariadne for my compiler project, can u suggest any pkgs?
-
Is there any go library to print compiler errors?
I'm looking for something similar to this rust crate https://github.com/zesterer/ariadne, but I can't find anything. I'm just starting to play with go and I really don't know where to look.
-
COBOL deserves modern, easy to read error messages as well! | Otterkit COBOL
Because of that, we made a new modern error message system for Otterkit, which should still display useful information to experienced developers, while also being easy to read and understand for new developers. This new format was inspired by Rust's error messages, and both the Errata NuGet package and Ariadne Rust crate.
- Is there a tool to emulate rust compiler error stlye code explanations?
- Why does Rust have parameters on impl?
-
Tools for creating a programming language in rust
i really like chumsky for parsing (and it works very well with it's sister crate ariadne)
-
Small changes you can make in a rust codebase that have a significant impact
I've also been looking into https://github.com/zesterer/ariadne as I'm building a static compiler using Jinja and want to return nicer messages when there is a parsing issue.
-
Hey Rustaceans! Got a question? Ask here! (29/2022)!
If you’d like to see some examples of great error messages written by a language with a parser combinator, I recommend you check out tao, which is parsed via chumsky, and provides rust-like error messages with the help of ariadne! I have been fiddling with writing my own language for a while now, and after trying out the alternatives, I found Chumsky to be great to work with, and can not recommend it enough. There are also great examples that you can find in the repo as well!
-
When is necessary to preserve whitespaces/comments directly in a concrete syntax tree?
The major thing I'm going to do is support nicer error messages like in https://github.com/zesterer/ariadne. Then add support for language server (LSP) and shoe them interactively on editors.
rust-langdev
Posts with mentions or reviews of rust-langdev.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-23.
-
Is this a good way to free up some memory?
If you're doing lang dev, maybe check out https://github.com/Kixiron/rust-langdev. I haven't done much since college, not in rust, but I've heard good things
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
rust-langdev has a lot of libraries for building compilers in Rust. Perhaps you could use these to make your implementation easier, and revisit it later if you want to build things from scratch. I'd suggest logos for lexing, LALRPOP / chumsky for parsing, and rust-gc for garbage collection.
-
Should I revisit my choice to use nom?
https://github.com/Kixiron/rust-langdev is a pretty nice list of libraries for Rust lang dev including parsers.
-
Tools for creating a programming language in rust
Someone showed me this repo with a bunch of lang dev libraries a while ago. I haven't done anything with it personally, but it may be of interest to you https://github.com/Kixiron/rust-langdev
- Rust libraries to build a compiler for my language?
- Good textbook with implementations of OO type system?
- Language Development Libraries for Rust
- How to write a compiler or interpreter in rust
-
Make A Langage
https://github.com/Kixiron/rust-langdev for additional resources and libraries
-
Can i use rust to write my compiler??
Absolutely. For a non-exhaustive list of other languages written in Rust, there is https://github.com/alilleybrinker/langs-in-rust. If you are looking for libraries to help you along the way, check out https://github.com/Kixiron/rust-langdev.
What are some alternatives?
When comparing ariadne and rust-langdev you can also consider the following projects:
strawberry - A GraphQL library for Python that leverages type annotations 🍓
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)
redis-rs - Redis library for rust
codespan - Beautiful diagnostic reporting for text-based programming languages.
chumsky - Write expressive, high-performance parsers with ease.
scala3-example-project - An example sbt project that compiles using Dotty
lalrpop - LR(1) parser generator for Rust
langs-in-rust - A list of programming languages implemented in Rust, for inspiration.
statix - lints and suggestions for the nix programming language
pratt - Pratt parser written in Rust
progge.rs - Program analysis playground for a simple, imperative language
plzoo - Programming Languages Zoo