nice-parser
Nice parsers in OCaml without the boilerplate (by smolkaj)
angstrom
Parser combinators built for speed and memory efficiency (by inhabitedtype)
Our great sponsors
nice-parser | angstrom | |
---|---|---|
1 | 3 | |
121 | 616 | |
- | 1.8% | |
3.9 | 0.0 | |
11 months ago | 4 months ago | |
OCaml | OCaml | |
MIT License | GNU General Public License v3.0 or later |
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.
nice-parser
Posts with mentions or reviews of nice-parser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-21.
-
Is Ocaml From the beginning a good book? Where to learn about multicore Ocaml? Is this a good project skeleton?
Is this a good project skeleton for a LR(1) parser? https://github.com/smolkaj/nice-parser/ Maybe I should have two projects, one for parsing and the rest of the logic?
angstrom
Posts with mentions or reviews of angstrom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-22.
-
Anyone have suggestions on how to parse recursive grammar elements with a parser generator?
Looking at the angstrom reference here I've explored a few ideas but none of them work.
- Parser Combinators in Haskell
-
Is Ocaml From the beginning a good book? Where to learn about multicore Ocaml? Is this a good project skeleton?
Do you specifically need an LR(1) parser? If you just need to do some simple parsing, a parser combinator library like Angstrom works fine and is completely defined in OCaml code: https://github.com/inhabitedtype/angstrom
What are some alternatives?
When comparing nice-parser and angstrom you can also consider the following projects:
dune - A composable build system for OCaml.
ocaml-parsing - Boilerplate code for writing parsers in OCaml using Menhir + sedlex
comby - A code rewrite tool for structural search and replace that supports ~every language.
generator - Generator module.
morbig - A static parser for POSIX Shell
assert-combinators - Functional assertion combinators.
multicore-opam - OPAM repo for OCaml multicore development
parser - String parser combinators
pyparsing - Python library for creating PEG parsers
attoparsec - A fast Haskell library for parsing ByteStrings
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
ocaml-asp - Algebraic, staged parsing for OCaml: typed, compositional, and faster than yacc