Skip to content

Releases: taocpp/PEGTL

PEGTL 1.2.0

23 Aug 10:47
Compare
Choose a tag to compare
  • Added pegtl_string_t and pegtl_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

31 Jul 15:34
Compare
Choose a tag to compare
  • Renamed namespace pegtl::ucs4 to pegtl::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 current apply_mode, action- and control class (template).
  • The contrib/raw_string class template now calls Action<raw_string<...>::content>::apply() with the user's state(s).

PEGTL 1.0.0

29 Mar 20:59
Compare
Choose a tag to compare

After 6 years of 0.x versions and nearly a year of refactoring, it is time for version 1.0.0.