Show HN: Marser, a grammar-first parser combinator library for Rust

ArneCode1 pts0 comments

Hello everyone!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.

library first blog grammar parser code

Related Articles