talira

Compare

Megaparsecparsecparser-combinators
What it isIndustrial-strength monadic parser combinators for HaskellMonadic parser combinatorsCommon Haskell parser combinators with no dependencies beyond base
KindOpen sourceOpen sourceOpen source
Trust0.520.350.26
Stars98289055
Last commit2026-11-212026-06-092026-08-02
LicenceBSD-2-ClauseBSD-2-ClauseBSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyMark KarpovOleg Grenrus and Herbert Valerio RiedelMark Karpov
Features
  • Monadic parser combinators built around the MonadParsec type class
  • Recovers from parse errors and reports several at once
  • Typed, custom parse errors whose position can differ from the current offset
  • Fast tokens, takeWhileP and takeP primitives
  • Parses String, ByteString, Text and custom token streams
  • Lexer modules for white space, comments, indentation and binary data
  • monadic parser combinators
  • monad transformer that stacks on any monad
  • parametric in the input stream type
  • good error messages
  • legacy parsec-2 API kept for compatibility
  • parser combinators defined over Applicative and Alternative
  • faster variants defined over Monad and MonadPlus
  • no dependencies other than base