summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAge
* Replace my bounds-checked numeric conversion with Boost’sGravatar Benjamin Barenblat2015-07-28
| | | | | | Boost provides numeric_cast, which is much better than what I was using for safe numeric type conversion. This does introduce a Boost dependency, but that tends to be true of most nontrivial C++ programs, so it’s pretty reasonable.
* Initial commit of the regex matcherGravatar Benjamin Barenblat2015-07-03
Wrap glibc’s regex engine to allow matching and group capture in POSIX extended regular expressions. It might be worth rewriting this in terms of the C++11 regex engine; it’s more featureful and more pleasant to use, although it would require more casting. (C can’t represent the std::regex type, so I’d need to use some void pointers.)