Latest / Developer tools

Match(it)

github.com · Open source · Active

Single-header C++17 pattern matching without macros

Visit github.com ↗Share

  • c 17
  • pattern matching
  • header only
  • cpp17
  • cpp17 library
  • cpp library
  • c plus plus
  • c plus plus 17
Stars
655
Forks
21
Open issues
5
Last commit
Releases
6
Found
4 years ago

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

Match(it) is a lightweight, single-header pattern-matching library for C++17 with macro-free APIs. It is meant to drop into a project without much setup. A live example runs on Compiler Explorer, so you can try the library without installing it.

Repository description on GitHub: “match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.”

What it does

  • Single-header C++17 pattern-matching library
  • Macro-free APIs
  • Live example runs on Compiler Explorer

Good for

  • Write pattern matching in C++17 without macros
  • Try the library in Compiler Explorer before installing it

Suits: C++ developers who want pattern matching without much setup.

What you can try

Try the example on Compiler Explorer or read the README on GitHub.

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 Match(it) on , when amazing42 posted it to Show HN. The oldest published release on GitHub is v0.1, dated . Match(it) had been shipping tagged releases for 417 days before it was found. 6 releases have been published in total; the latest is v1.0.1 ().

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: 85 points, 44 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v1.0.1 (25 Aug 2022)
  • Show HN discussion at check time: 85 points, 44 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: BowenFu/matchit.cpp
  2. Release v0.1
  3. Release v0.1.1
  4. Release v0.1.2
  5. Release v0.1.3
  6. Release v1.0.0
  7. Found: amazing42 posted it to Show HN. Show HN
  8. Release v1.0.1
  9. Day-7 check recorded by Kip (details)
  10. Day-30 check recorded by Kip (details)

Quick answers

When was Match(it) released?
Its first tagged release on GitHub is dated 26 Jun 2021. Kip found it on Show HN on 17 Aug 2022.
Is Match(it) open source?
Its source is public on GitHub at BowenFu/matchit.cpp under the Apache-2.0 licence.
What does Match(it) run on?
Library.
Is Match(it) free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Match(it) still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryBowenFu/matchit.cpp
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-32496168. 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.