tzlaine / parser

A C++ parser combinator library.
Boost Software License 1.0
70 stars 12 forks source link

Docs: describe `operator>` #42

Closed akrzemi1 closed 6 months ago

akrzemi1 commented 6 months ago

It is not clear from the docs when one would want to use operator>. Table Combining Operations and Their Semantics says it is for disabling backtracking. But why would I need to disable backtracking?

Section Error Handling and Debugging) says:

Consider what happens when we fail to parse at an expectation point (created using operator>()).

What is an expectation point? Is there some connection between operator>() and expectation points?