microparsec icon indicating copy to clipboard operation
microparsec copied to clipboard

Review implementations by Megaparsec (or implement combinators from Text.Megaparsec.Combinator)

Open schneiderfelipe opened this issue 3 years ago • 0 comments

Some Parsec combinators were improved by Megaparsec. Implement the following or find alternatives:

  • [x] between
  • [x] sepBy
  • [x] sepBy1
  • [ ] choice
  • [ ] count
  • [ ] count'
  • [ ] eitherP
  • [ ] endBy
  • [ ] endBy1
  • [ ] manyTill
  • [ ] someTill
  • [ ] option
  • [ ] sepEndBy
  • [ ] sepEndBy1
  • [ ] skipMany
  • [ ] skipSome

Code can be found here. See here in particular about sepBy1 and sepBy.

EDIT: review and ensure

  • [ ] preference on Megaparsec's naming over Parsec's
  • [ ] preference on Megaparsec's strategies over Parsec's

schneiderfelipe avatar Jun 21 '21 19:06 schneiderfelipe