ocaml-asp
Algebraic, staged parsing for OCaml: typed, compositional, and faster than yacc (by yallop)
angstrom
Parser combinators built for speed and memory efficiency (by inhabitedtype)
ocaml-asp | angstrom | |
---|---|---|
1 | 3 | |
95 | 616 | |
- | 1.3% | |
3.0 | 0.0 | |
10 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.
ocaml-asp
Posts with mentions or reviews of ocaml-asp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-19.
-
Multistage Programming / First Class runtime compiler support
BER MetaOCaml is a variant of OCaml with first-class staging constructs. You can write a program that returns something of type "code for a program of type T" (possibly a function type), and then ask to compile this code and you get a value of type T. This has been used to demonstrate removing interpretation overhead in various settings, for example parser generators as a library.
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 ocaml-asp and angstrom you can also consider the following projects:
comby - A code rewrite tool for structural search and replace that supports ~every language.
ocaml-parsing - Boilerplate code for writing parsers in OCaml using Menhir + sedlex
CompTime.jl - Library for compile-time computing in julia
with-branching - An implementation of macroexpand-time conditionalization.
generator - Generator module.
metaocaml-frex
assert-combinators - Functional assertion combinators.
ocaml4noobs - Tutorial de OCaml para iniciantes na Linguagem.
morbig - A static parser for POSIX Shell
Numba - NumPy aware dynamic Python compiler using LLVM
multicore-opam - OPAM repo for OCaml multicore development