megalisp
megalisp is a compliant lisp parser written in megaparsec (by kuribas)
Earley
Parsing all context-free grammars using Earley's algorithm in Haskell. (by ollef)
megalisp | Earley | |
---|---|---|
- | 1 | |
2 | 361 | |
- | - | |
0.0 | 3.9 | |
about 3 years ago | 12 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" 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.
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.
megalisp
Posts with mentions or reviews of megalisp.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning megalisp yet.
Tracking mentions began in Dec 2020.
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?
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 megalisp and Earley you can also consider the following projects:
antlrc - Haskell binding to the ANTLR parser generator C runtime library http://www.antlr.org/wiki/display/ANTLR3/ANTLR3+Code+Generation+-+C
parsec - A monadic parser combinator library
fixhs - FIX (co)parser in haskell
parser-combinators - Lightweight package providing commonly useful parser combinators
uulib - The UUlib libraries
parsers - Generic parser combinators
descriptive
parsec-permutation
papillon - simple peg parser generater for Haskell
rere - recursive regular expressions
megaparsec - Industrial-strength monadic parser combinator library