megaparsec VS Earley

Compare megaparsec vs Earley and see what are their differences.

megaparsec

Industrial-strength monadic parser combinator library (by mrkkrp)

Earley

Parsing all context-free grammars using Earley's algorithm in Haskell. (by ollef)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
megaparsec Earley
3 1
890 361
- -
6.5 3.9
6 days ago about 1 year ago
Haskell Haskell
BSD 2-clause "Simplified" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

megaparsec

Posts with mentions or reviews of megaparsec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-23.

Earley

Posts with mentions or reviews of Earley. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-08.
  • Why is Haskell considered good for writing a Compiler/Interpreter?
    2 projects | /r/haskell | 8 Apr 2022
    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.

What are some alternatives?

When comparing megaparsec and Earley you can also consider the following projects:

parsec - A monadic parser combinator library

attoparsec - A fast Haskell library for parsing ByteStrings

parser-combinators - Lightweight package providing commonly useful parser combinators

attoparsec-parsec - An Attoparsec compatibility layer for Parsec

parsers - Generic parser combinators

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

parsec-permutation

pipes-attoparsec - Utilities to convert a parser into a pipe

rere - recursive regular expressions

streaming-binary - Incremental serialization and deserialization of Haskell values.