Closed robrix closed 10 years ago
parseNull
would become something like:
[[NSSet set] red_append:REDMap(grammar, ^(id<HMRCombinator> each) {
return each.localParseForest;
})];
Compaction would be even cooler.
This would be a depth-first acyclic traversal.
Would be nice to be able to just reduce w/ fixpoint for (near-)arbitrary operations across the grammar.