Skip to content

Releases: taocpp/PEGTL

PEGTL 2.5.0

01 May 14:48
f24d8c2
Compare
Choose a tag to compare
  • 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

17 Feb 15:40
487885f
Compare
Choose a tag to compare
  • Improved and documented the Parse Tree / AST support.
  • Changed prefix of all macros from TAOCPP_PEGTL_ to TAO_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 temporary std::string.

PEGTL 2.3.4

08 Feb 20:46
4095996
Compare
Choose a tag to compare
  • 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

01 Jan 12:50
3ffb14b
Compare
Choose a tag to compare
  • Added more noexcept-specifications.
  • Fixed most clang-tidy-issues.

PEGTL 2.3.2

16 Dec 15:38
0f9d94b
Compare
Choose a tag to compare
  • Worked around a Visual Studio 15.5 bug.

PEGTL 2.3.1

14 Dec 09:55
2c8e750
Compare
Choose a tag to compare
  • Fixed linkage of tao::pegtl::internal::file_open.
  • Improved error message for missing source parameter of string_input<>.

PEGTL 2.3.0

11 Dec 12:03
482b27e
Compare
Choose a tag to compare
  • Added constructor to read_input<> that accepts a FILE*, see issue #78.
  • Enhanced apply<>, apply0<> and if_apply<> to support apply()/apply0()-methods returning boolean values.
  • Simplified implementation of raw_string, the optional Contents... 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"

22 Nov 21:24
b6acf3e
Compare
Choose a tag to compare
  • Fixed missing call to the control class' failure()-method when a rule with an apply()-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"

22 Nov 20:04
a52967f
Compare
Choose a tag to compare
  • Fixed missing call to the control class' failure()-method when a rule with an apply()-method with a boolean return type fails.
  • Fixed string handling in examples/abnf2pegtl.cc.
  • Simplified/improved Android build.

PEGTL 2.2.0

24 Sep 16:17
Compare
Choose a tag to compare
  • Added possibility for actions' apply() or apply0()-methods to return a bool which is then used to determine overall success or failure of the rule to which such an action was attached.
  • Added <tao/pegtl/contrib/parse_tree.hpp> and the examples/parse_tree.cpp application that shows how to build a parse tree. The example goes beyond a traditional parse tree and demonstrates how to select which nodes to include in the parse tree and how to transform the nodes into an AST-like structure.
  • Added bom rules for UTF-8, UTF-16 and UTF-32.
  • Added some missing includes for config.hpp.
  • Added automated testing with Clang 5.
  • Added automated testing with Xcode 9.