Haskell Parsing

Open-source Haskell projects categorized as Parsing

Top 23 Haskell Parsing Projects

  • megaparsec

    Industrial-strength monadic parser combinator library

    Project mention: is there an interpreter/compiler i can just put in a folder and use? | reddit.com/r/lua | 2021-12-06

    - Haskell's megaparsec library

  • parsec

    A monadic parser combinator library

    Project mention: Summing polynomials in Haskell | reddit.com/r/haskell | 2022-10-15

    Parse the expression using parsec library ( if you're unfamiliar with it please check out https://hackage.haskell.org/package/parsec) it's a strong library for parer combinators. Once you parse the expression u need to define and sum up the similar terms. Check this example out - https://fpunfold.com/2020/05/18/making-a-calculator-in-haskell-with-parsec.html

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • attoparsec

    A fast Haskell library for parsing ByteStrings

    Project mention: Haskell - Important Libraries | reddit.com/r/haskell | 2022-03-24


  • Earley

    Parsing all context-free grammars using Earley's algorithm in Haskell.

    Project mention: Why is Haskell considered good for writing a Compiler/Interpreter? | reddit.com/r/haskell | 2022-04-08

    It is not nearly as annoying to left-factor parser combinators than it is to left factor CFGs, you just need to use appropriate combinators like chainl and chainr. And you'd want to abstract over common patterns in your CFG anyway, that is a strength of parser combinators! Compare this Earley example and my parser combinator example below.

  • trifecta

    Parser combinators with highlighting, slicing, layout, literate comments, Clang-style diagnostics and the kitchen sink

  • regex-applicative

    Regex-based parsing with an applicative interface

    Project mention: Melody - A readable language that compiles to regular expressions, now with Babel and NodeJS support! | reddit.com/r/programming | 2022-04-04

    What do you think about embedded approaches like regex-applicative, where the host language's tools of composition (in this example, the applicative functor interface) can be used to implement higher-level structure?

  • xeno

    Fast Haskell XML parser

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • parsers

    Generic parser combinators

  • replace-megaparsec

    Stream editing with Haskell Megaparsec parsers

  • fixhs

    FIX (co)parser in haskell

  • cron

    Cron data structure and parser for Haskell (by MichaelXavier)

  • parser-combinators

    Lightweight package providing commonly useful parser combinators

  • scanner

    Fast non-backtracking incremental combinator parsing for bytestrings (by Yuras)

  • weighted-regexp

    Regular Expression Matching in Haskell

  • ruby-marshal

    Haskell library to parse a subset of Ruby objects serialised with Marshal.dump

  • sexp-grammar

    Invertible parsing for S-expressions

  • yoctoparsec

    A truly tiny monadic parsing library

  • parsec-free

  • incremental-parser

    Haskell parsing combinator liibrary that can be fed the input and emit the parsed output incrementally

  • unparse-attoparsec

    An attoparsec roundtrip

  • replace-attoparsec

    Stream editing with Haskell Attoparsec parsers

  • hsemail

    Haskell Parsec parsers for the syntax defined in RFC2821 and 2822

  • pipes-aeson

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-10-15.

Haskell Parsing related posts


What are some of the best open-source Parsing projects in Haskell? This list will help you:

Project Stars
1 megaparsec 805
2 parsec 760
3 attoparsec 488
4 Earley 345
5 trifecta 286
6 regex-applicative 121
7 xeno 115
8 parsers 85
9 replace-megaparsec 74
10 fixhs 53
11 cron 48
12 parser-combinators 47
13 scanner 45
14 weighted-regexp 32
15 ruby-marshal 31
16 sexp-grammar 28
17 yoctoparsec 27
18 parsec-free 20
19 incremental-parser 19
20 unparse-attoparsec 16
21 replace-attoparsec 14
22 hsemail 14
23 pipes-aeson 13
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.