uu-parsinglib-2.5.4: Online, error-correcting parser combinators; monadic and applicative interfaces



The non-exported module Text.ParserCombinators.UU.Examples contains a list of examples of how to use the main functionality of this library which demonstrates:

  • how to write basic parsers
  • how to to write ambiguous parsers
  • how the error correction works
  • how to fine tune your parsers to get rid of ambiguities
  • how to use the monadic interface
  • what kind of error messages you can get if you write erroneous parsers
  • how to use the permutation/merging parsers
  • to see the parsers in action load the module Text.ParserCombinators.UU.Examples in ghci and type main or demo_merge, while looking at the corresponding code