is a function from Strings
to lists of pairs of Strings and Things.
I wonder how this technique would interact with an Earley parsing approach that gives all possible parses in parallel.
I’m trying to imagine this with a set of rules or with dynamic runtime evaluation of what is being parsed.
Even higher-order functions for parsing or Why would anyone ever want to use a sixth-order function? [1]
[1]: https://www.cambridge.org/core/services/aop-cambridge-core/c...
is a function from Strings
to lists of pairs of Strings and Things.