PEGTL v2.8.0 Release Notes
Release Date: 2019-04-09 // about 5 years ago-
- Use the migration guide when updating.
- ๐ Changed enumerators to lowercase.
- Renamed
tracking_mode::IMMEDIATE
totracking_mode::eager
. - Compatibility enumerators with uppercase names are still included.
- Will be removed in version 3.0.0.
- Renamed
- Renamed
peek_byte()
topeek_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
andrequire_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.
- The control-based helpers in
- Added new action-based helpers
disable_action.hpp
andenable_action.hpp
. - Added new action-based helpers
discard_input.hpp
,discard_input_on_success.hpp
, anddiscard_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).