Grammar of Graphics CLI tool made in Rust
Grammar of graphics in CLI form when Vega-Lite and ggplot2 exist.
A parser-combinator library for writing PEG-style grammars in Rust with a focus on useful errors, error recovery and good performance.
TUI debugger is novel, but nom and chumsky already own this space.
Rust developers building parsers or compilers
nom · chumsky · pest
I am the author of marser, a parser-combinator library in rust.
I have tried outlining the reasons for writing this library in this blog post: https://blog.arnedebo.com/posts/a-grammar-first-approach-to-...
The main aim of the library is to make parsers readable and understandable by enabling users to write code that resembles formal grammars / ebnf (more on that in the blog post). It also has additional features like error recovery, custom error diagnostics and a TUI for debugging the parsers.
This is my first library, so I would really appreciate some feedback on design decisions / usability etc.
Disclaimer: I have used AI for parts of the documentation, for some of the macro code and things like the TUI viewer but the core parsing code has been written by me.
Grammar of graphics in CLI form when Vega-Lite and ggplot2 exist.
Runtime grammar merging in a C parser generator? That’s compiler wizardry.
One grammar generates 18 spec-compliant YAML parsers via Futamura projection in Common Lisp.
Seven times faster than pure Python parsers by mapping files directly into virtual memory.
Beats simd-csv with pclmulqdq trick, but CSV parsing is a solved category.
Zero-copy EDID parsing with no_std support fills embedded display driver gap nicely.