Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Patternia – A compile-time pattern matching DSL for C++ (github.com/sentomk)
4 points by sentomk 22 days ago | hide | past | favorite | 1 comment


This is my first time posting about my open-source project here — it’s called Patternia, a header-only compile-time pattern-matching DSL for modern C++.

It provides a clean and expressive syntax for writing match expressions, all evaluated entirely at compile time with zero runtime overhead.

I’d love to hear your feedback — especially on performance, syntax feel, and any compiler corner cases you might find.

More updates are coming soon as I keep tuning and polishing the internal.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: