masala-parser
attoparsec
Our great sponsors
masala-parser | attoparsec | |
---|---|---|
1 | 6 | |
140 | 509 | |
0.7% | 0.6% | |
0.0 | 3.7 | |
over 1 year ago | 6 days ago | |
JavaScript | Haskell | |
GNU Lesser General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
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.
masala-parser
-
Ditch regex for parser combinators, a Rust / nom step-by-step guide
- https://pypi.org/project/parsita/#description - https://github.com/masala/masala-parser
attoparsec
-
Functional Implementation of a parser?
The basic idea is to create a state monad (usually using the State monad transformer) which contains a string to be parsed, and which also lifts other monad transformers like Except for throwing syntax errors. Or you can use a parser combinator like Parser provided by a parsing library like Megaparsec or Attoparsec that defines an efficient State+Except monad transformer combination for you.
-
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?
lexy - C++ parsing DSL
megaparsec - Industrial-strength monadic parser combinator library
PEGTL - Parsing Expression Grammar Template Library
parsec - A monadic parser combinator library
scriptum - Functional Programming Unorthodoxly Adjusted to Client-/Server-side Javascript
attoparsec-parsec - An Attoparsec compatibility layer for Parsec
Fluture - 🦋 Fantasy Land compliant (monadic) alternative to Promises
attoparsec-data - Parsers for the standard Haskell data types
lalrpop - LR(1) parser generator for Rust
parsers - Generic parser combinators
parser-combinators - Lightweight package providing commonly useful parser combinators
trifecta - Parser combinators with highlighting, slicing, layout, literate comments, Clang-style diagnostics and the kitchen sink