New features:
- context parsing
- skip newline option
- 'construct' functor helper
- cleaned up CI and cmake build system
Unclaimed project
Are you a maintainer of ctpg? Claim this project to take control of your public changelog and roadmap.
Changelog
Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.
New features:
Fixed #20 bug, using a digit in a regex like "0" caused hex 0x00 to be matched instead of char '0'.
push_back list functor helper, which was effectively doing emplace_back.Regex parser got significantly simpler due to lexical analyzer rework. This greatly reduced compilation times and eased clang support.
Fixed bug: regex parsing now does not skip whitespaces.