Releases: taocpp/PEGTL
Releases · taocpp/PEGTL
PEGTL 1.2.1
- Added
file_parser
as alias formmap_parser
orread_parser
depending 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_one
example.
PEGTL 1.2.0
- Added
pegtl_string_t
andpegtl_istring_t
to simplify string definitions as follows:
pegtl::string< 'h', 'e', 'l', 'l', 'o' > // Normal
pegtl_string_t( "hello" ) // New shortcut
- Added
examples/abnf2pegtl.cc
application that converts grammars based on ABNF (RFC 5234) into a PEGTL C++ grammar. - Added
contrib/alphabet.hh
with integer constants for alphabetic ASCII letters.
PEGTL 1.1.0
- Renamed namespace
pegtl::ucs4
topegtl::utf32
and 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_string
class 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.