Releases: taocpp/PEGTL
Releases · taocpp/PEGTL
PEGTL 2.8.3
- Fixed excessive read-ahead with incremental inputs.
- Added state manipulators
remove_first_state
,remove_last_states
,rotate_states_right
,rotate_states_left
, andreverse_states
to contrib. - Reduced the number of intermediate parse tree nodes.
PEGTL 2.8.2
- Fixed parse tree node generation to correctly remove intermediate nodes.
PEGTL 2.8.1
- Added fallback symbol demangling if RTTI is disabled.
- Fixed missing
string_input<>
in amalgamated header. - Fixed
discard_input*
actions to properly forward the apply mode. - Fixed contrib HTTP grammar for chunked data.
PEGTL 2.8.0
- 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.
- Compatibility member functions with previous names are still included.
- 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).
PEGTL 2.7.1
- Added new ASCII convenience rule
forty_two
. - Added experimental
if_then
rule. - Simplified how parse tree nodes can be selected.
- Reduced the number of intermediate parse tree nodes.
- Allowed an action class template to be used with the parse tree.
PEGTL 2.7.0
- Added
mmap_file<>
support for Windows. - Added deduction guides for the input classes when compiling with C++17.
PEGTL 2.6.1
- Fixed endianness detection in test program.
PEGTL 2.6.0
- Added Conan packages.
- Fixed the UTF-8 decoder to no longer accept UTF-16 surrogates.
- Fixed the UTF-16 decoder to no longer accept UTF-16 unmatched surrogates.
- Fixed the UTF-32 "decoder" to no longer accept UTF-16 surrogates.
- Fixed
pegtl/contrib/unescape.hh
to no longer accept unmatched surrogates. - Optimised convenience rule
two
. - Added new convenience rule
three
.
PEGTL 2.5.2
- Fixed
opt
anduntil
to work as documented in some rare edge cases. - Used
opt_must
andstar_must
to optimise some included grammars.
PEGTL 2.5.1
- Added new convenience rule
opt_must
. - Optimised convenience rule
if_must
. - Fixed examples to compile with Visual Studio and MinGW.
- Added automated testing with GCC 8.