ptal / oak

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

Unify forwarding types #76

Closed ptal closed 8 years ago

ptal commented 8 years ago

In ExprTy, Identity and Tuple(vec![x]) both can represent the fact that no value is built per se but is instead forwarded from a sub-expression. It should be unified.

ptal commented 8 years ago

Not sure about this anymore. Identity = Build the value. Tuple(vec![x]) = Forward the value.