[Haskell-cafe] Wanted: composoable parsers from haskell-src-exts
waldmann at imn.htwk-leipzig.de
Mon Mar 14 18:55:05 CET 2011
I want to use parsers from haskell-src-exts as sub-parsers,
which does not seem to work since they insist on consuming the input completely.
I would need them to parse a maximal prefix,
and return the (unconsumed) rest of input as well
I figure that happy has the %partial directive for that, but the description
does not really tell me how to obtain the rest of the input.
Any hints (or code samples) appreciated. Thanks - J.W.
More information about the Haskell-Cafe