Skip to content

Commit

Permalink
Add documentation for contrib/limit_depth.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Jul 31, 2021
1 parent 663a9f4 commit 6d03c8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/Contrib-and-Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ For all questions and remarks contact us at **taocpp(at)icemx.net**.

* Grammars and actions for PEGTL-input-to-integer conversions.

###### `<tao/pegtl/contrib/limit_depth.hpp>`

* Limits the nesting level of rules when parsing a grammar, prevents stack overflows.
* Can be applied selectively at specific rules to improve efficiency.
* See `src/test/pegtl/limit_depth.cpp`.

###### `<tao/pegtl/contrib/json.hpp>`

* JSON grammar according to [RFC 7159](https://tools.ietf.org/html/rfc7159) (for UTF-8 encoded JSON only).
Expand Down

0 comments on commit 6d03c8d

Please sign in to comment.