ptal / oak

A typed parser generator embedded in Rust code for Parsing Expression Grammars
Apache License 2.0
142 stars 14 forks source link

Dependent parsing combinators #72

Open ptal opened 8 years ago

ptal commented 8 years ago

Dependent parsing allows semantic attribute to control the parsing. For example a new combinator #e expects a synthesized argument of type integer and repeat e exactly this number of times.

ptal commented 8 years ago

Here a non-exhaustive list of combinators that should be present for dependent-parsing:

See papers: