Latest / Developer tools

Matcheroni

github.com · Open source · Maintained

Header-only C++20 library for lexers and parsers

Visit github.com ↗Share

  • lexer
  • lexing
  • parsing expression grammar
  • text processing
  • cplusplus 20
  • pattern matching
  • regular expression
Stars
212
Forks
6
Open issues
2
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

Matcheroni is a single-header C++20 library for building pattern matchers, lexers and parsers from templates. The author positions it as an alternative to parser generators and regular expressions. It suits C++ developers who want a parser built into their code with a small footprint.

Repository description on GitHub: “A minimalist single-header library for building pattern-matchers, lexers, and parsers.”

What it does

  • Header-only C++20 pattern matching with parsing expression grammars
  • Companion Parseroni library builds parse trees from matches
  • Tutorial for building a JSON parser

Good for

  • Build a lexer or parser in C++ without a parser generator
  • Replace a regex with a PEG-based pattern matcher in C++

Suits: C++ developers who want an embedded parser without a generator.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Matcheroni on , when aappleby posted it to Show HN. GitHub listed no published releases for aappleby/Matcheroni when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 96 points, 12 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 96 points, 12 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: aappleby/Matcheroni
  2. Found: aappleby posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Matcheroni released?
No dated release record is available. Kip found it on Show HN on 6 Jul 2023.
Is Matcheroni open source?
Its source is public on GitHub at aappleby/Matcheroni under the MIT licence.
What does Matcheroni run on?
Library.
Is Matcheroni free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Matcheroni still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryaappleby/Matcheroni
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-36623762. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.