β
parse_generic (
bool
 
partial
, 
 
rule
, 
string
 
s
, 
(
β
)
 
on_failure
, 
(
β
)
 
on_success)
Generic function for parsing.
partial
indicates whether partial parsing is allowed
(if not then parsing which does not consume the whole input
is considered erroneous)
rule
parser to be used
s
input string to be parsed
on_failure
if parsing fails then the result will beon_failure()
on_success
if parsing succeeds with res then the
result of this function will be
on_success(res).
returns
the result of parsing, as outlined above.

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.