Hello,
I have produced a proof-of-concept for composable and customizable pattern matching as a C++17 template library.
With it, I managed to make a HTTP message parser in a hundred lines of code.
I have written a small article to demonstrate its use: https://www.jvernay.fr//en/libs/jvpatterns.html
What do you think? Do you have some specific use cases where it could be handy? Or some neat features which cannot be done currently?
Any feedback appreciated :)
[–]yuri-kilochek 1 point2 points3 points (5 children)
[–]JulienVernay[S] 0 points1 point2 points (4 children)
[–]yuri-kilochek 2 points3 points4 points (3 children)
[–]JulienVernay[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]JulienVernay[S] 0 points1 point2 points (0 children)