Open ptal opened 8 years ago
Here a non-exhaustive list of combinators that should be present for dependent-parsing:
#e
, expects integer as parameter. Use case: binary protocol, unknown field size.=e
, expects parameter and the result of e
to be of comparable type. Succeeds if they are equals. Use case: html/xml tags.See papers:
Dependent parsing allows semantic attribute to control the parsing. For example a new combinator
#e
expects a synthesized argument of type integer and repeate
exactly this number of times.