Releases: taocpp/PEGTL
Releases · taocpp/PEGTL
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.
PEGTL 2.5.0
- Added rules to match Unicode properties via ICU to contrib.
- Improved the Parse Tree / AST interface.
- Fixed parse tree node generation to correctly remove intermediate nodes.
- Added big- and little-endian support to the UTF-16 and UTF-32 rules.
- Added rules for UINT-8 and big- and little-endian UINT-16, UINT-32 and UINT-64.
- Added function to
memory_input<>
to obtain the line around a position. - Added function to
memory_input<>
to start again from the beginning. - Added example for Python-style indentation-aware grammars.
- Added examples for regular, context-free, and context-sensitive grammars.
- Added example for how to parse with a symbol table.
- Added automated testing with Clang 6.
- Added automated testing with Clang's
-fms-extensions
. - Fixed build with Clang when
-fms-extensions
is used (clang-cl
).
PEGTL 2.4.0
- Improved and documented the Parse Tree / AST support.
- Changed prefix of all macros from
TAOCPP_PEGTL_
toTAO_PEGTL_
. Compatibility macros with the old names are provided, they will be removed in version 3.0. - Added a deleted overload to prevent creating a
memory_input<>
from a temporarystd::string
.
PEGTL 2.3.4
- Fixed build on older systems where
O_CLOEXEC
is not available. - Added automated testing with Android 6.0 and 7.0.
PEGTL 2.3.3
- Added more
noexcept
-specifications. - Fixed most
clang-tidy
-issues.
PEGTL 2.3.2
- Worked around a Visual Studio 15.5 bug.
PEGTL 2.3.1
- Fixed linkage of
tao::pegtl::internal::file_open
. - Improved error message for missing
source
parameter ofstring_input<>
.
PEGTL 2.3.0
- Added constructor to
read_input<>
that accepts aFILE*
, see issue #78. - Enhanced
apply<>
,apply0<>
andif_apply<>
to supportapply()
/apply0()
-methods returning boolean values. - Simplified implementation of
raw_string
, the optionalContents...
rules'apply()
/apply0()
-methods are now called with the original states. - Fixed the tracer to work with
apply()
/apply0()
-methods returning boolean values. (Thanks Joel Frederico) - Fixed, simplified and improved
examples/parse_tree.cpp
.
PEGTL 2.2.2 "10th anniversary edition"
- Fixed missing call to the control class'
failure()
-method when a rule with anapply()
-method with a boolean return type fails. - Fixed string handling in
examples/abnf2pegtl.cc
. - Simplified/improved Android build.
(this is a re-release of 2.2.1 to fix the version number reported by CMake and version.hpp
)
PEGTL 2.2.1 "10th anniversary edition"
- Fixed missing call to the control class'
failure()
-method when a rule with anapply()
-method with a boolean return type fails. - Fixed string handling in
examples/abnf2pegtl.cc
. - Simplified/improved Android build.