httpaf
attoparsec
Our great sponsors
httpaf | attoparsec | |
---|---|---|
2 | 6 | |
533 | 508 | |
0.6% | 0.4% | |
0.0 | 3.4 | |
4 months ago | 4 months ago | |
OCaml | Haskell | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
httpaf
- Parser Combinators in Haskell
-
The RustyHermit Unikernel: unikernel written in Rust
Thanks for chiming in!
Sadly cohttp is (or was) performing so bad that it is kind of at odds with using it on a unikernel.
This one is quite a bit faster:
attoparsec
-
Haskell - Important Libraries
attoparsec
-
On a daily base in this sub
good libraries for parsing: parsec, attoparsec etc.
- Parser Combinators in Haskell
-
Splitting html tags string into list of string
The more "idiomatic" way would be to use a parser library, e.g. parsec, attoparsec, or megaparsec. But even then I think it would be a lot easier to maintain if you could preserve the angle brackets <> in the input.
-
Ditch regex for parser combinators, a Rust / nom step-by-step guide
- https://hackage.haskell.org/package/attoparsec - https://hackage.haskell.org/package/megaparsec
What are some alternatives?
megaparsec - Industrial-strength monadic parser combinator library
parsec - A monadic parser combinator library
attoparsec-parsec - An Attoparsec compatibility layer for Parsec
attoparsec-data - Parsers for the standard Haskell data types
parsers - Generic parser combinators
ocaml-cohttp - An OCaml library for HTTP clients and servers using Lwt or Async
parser-combinators - Lightweight package providing commonly useful parser combinators
dream - Tidy, feature-complete Web framework
trifecta - Parser combinators with highlighting, slicing, layout, literate comments, Clang-style diagnostics and the kitchen sink
pyparsing - Python library for creating PEG parsers
ocaml-opium-unikernel - Example unikernel using opium + httpaf (using https://github.com/dinosaure/paf-le-chien)
assert-combinators - Functional assertion combinators.