Skip to content

PEGTL 2.8.0

Compare
Choose a tag to compare
@d-frey d-frey released this 09 Apr 18:41
· 64 commits to 2.x since this release
3132d64
  • Use the migration guide when updating.
  • Changed enumerators to lowercase.
    • Renamed tracking_mode::IMMEDIATE to tracking_mode::eager.
    • Compatibility enumerators with uppercase names are still included.
      • Will be removed in version 3.0.0.
  • Renamed peek_byte() to peek_uint8().
    • Compatibility member functions with previous names are still included.
      • Will be removed in version 3.0.0.
  • Allowed actions to implement match.
  • Made deriving action class templates from nothing optional.
  • Added debug tools require_apply and require_apply0.
  • Added combinator class rematch.
  • Improved the Parse Tree / AST interface to mostly hide its internal state.
  • Added new action-based helpers change_*.hpp.
    • The control-based helpers in contrib/changes.hpp are still included.
      • Will be removed in version 3.0.0.
  • Added new action-based helpers disable_action.hpp and enable_action.hpp.
  • Added new action-based helpers discard_input.hpp, discard_input_on_success.hpp, and discard_input_on_failure.hpp.
  • Added Clang Static Analyzer to the CI build.
  • Added new Makefile target amalgamate to generate a single-header version of the PEGTL.
  • Added support for Universal Windows Platform (UWP).