Friday, July 7, 2023

Show HN: Matcheroni a tiny C20 header library for building lexers/parsers https://ift.tt/qIF8Wf4

Show HN: Matcheroni, a tiny C++20 header library for building lexers/parsers Howdy HN, as part of my ongoing programming language experiments I've ended up creating my own C++20 lexing and parsing library of sorts. Matcheroni is an alternative to parser generators and regular expressions that uses trees of C++ templates to implement highly customizable lexers and parsers that have minimal impact on build times or binary sizes, while still remaining comparable in performance to Boost regular expressions. The repo includes two example projects - a simple regex parser in ~300 heavily documented lines of code, and a much larger but not quite finished C99 lexer and parser. All feedback appreciated! https://ift.tt/uiyoFvP July 7, 2023 at 03:32AM

No comments:

Show HN: HyperSAE – Hyperbolic Sparse Autoencoders for LLM Interpretability https://ift.tt/3hgqInu

Show HN: HyperSAE – Hyperbolic Sparse Autoencoders for LLM Interpretability https://ift.tt/5uVS0XQ August 11, 2026 at 11:49PM