talira

Compare

parser-combinatorsMegaparsecparsec
What it isCommon Haskell parser combinators with no dependencies beyond baseIndustrial-strength monadic parser combinators for HaskellMonadic parser combinators
KindOpen sourceOpen sourceOpen source
Trust0.260.520.35
Stars55982890
Last commit2026-08-022026-11-212026-06-09
LicenceBSD-3-ClauseBSD-2-ClauseBSD-2-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 KarpovMark KarpovOleg Grenrus and Herbert Valerio Riedel
Features
  • parser combinators defined over Applicative and Alternative
  • faster variants defined over Monad and MonadPlus
  • no dependencies other than base
  • 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