Releases: taocpp/PEGTL
Releases · taocpp/PEGTL
PEGTL 1.2.1
- Added
file_parseras alias formmap_parserorread_parserdepending on availability of the former. - Added Clang 3.7 to the automated tests.
- Added MacOS X with XCode 6 and XCode 7 to the automated tests.
- Added coverage test and improved test coverage to 100%.
- Fixed state changing bug in
json_build_oneexample.
PEGTL 1.2.0
- Added
pegtl_string_tandpegtl_istring_tto simplify string definitions as follows:
pegtl::string< 'h', 'e', 'l', 'l', 'o' > // Normal
pegtl_string_t( "hello" ) // New shortcut- Added
examples/abnf2pegtl.ccapplication that converts grammars based on ABNF (RFC 5234) into a PEGTL C++ grammar. - Added
contrib/alphabet.hhwith integer constants for alphabetic ASCII letters.
PEGTL 1.1.0
- Renamed namespace
pegtl::ucs4topegtl::utf32and generally adopted UTF-32 in all naming. - Added experimental support for UTF-16 similar to the previously existing UTF-32 parsing rules.
- Added support for merging escaped UTF-16 surrogate pairs to
pegtl/contrib/unescape.hh. - Fixed incorrect handling of escaped UTF-16 surrogate pairs in the JSON examples.
- A state's
S::success()-method can now have an extended signature to get access to the currentapply_mode, action- and control class (template). - The
contrib/raw_stringclass template now callsAction<raw_string<...>::content>::apply()with the user's state(s).
PEGTL 1.0.0
After 6 years of 0.x versions and nearly a year of refactoring, it is time for version 1.0.0.