parsec π
parsec
parsec π | parsec | |
---|---|---|
4 | 12 | |
135 | 831 | |
0.7% | -0.1% | |
3.9 | 4.7 | |
almost 1 year ago | 29 days ago | |
TypeScript | Haskell | |
MIT License | BSD 2-clause "Simplified" 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.
parsec π
-
Using Redis Pub/Sub with Node.js
The tinnyhttp framework doesn't come with a body parser already integrated so I'll install milliparsec, in addition to being lighter than the famous body-parser, it's asynchronous and faster.
-
Caching in Node.js using Memcached
In addition, we will still install milliparsec, which is a super lightweight body parser, and the Memcached client we will be using will be memjs.
-
milliparsec: tiniest body parser for modern Node.js
Looking at https://github.com/talentlessguy/milliparsec/blob/master/src/index.ts#L38-L45, should this read...
parsec
-
Revisiting Haskell after 10 years
Writing Haskell programs that rely on third-party packages is still an issue when itβs a not actively maintained package. They get out of date with the base library (Haskellβs standard library), and you might see yourself in a situation where you need to downgrade to an older version. This is not exclusive to Haskell, but it happens more often than Iβd like to assume. However, if you only rely on known well-maintained libraries/frameworks such as Aeson, Squeleto, Yesod, and Parsec, to name a few, itβs unlikely you will face troubles at all, you just need to be more mindful of what you add as a dependency. Thereβs stackage.org now, a repository that works with Stack, providing a set of packages that are proven to work well together and help us to have reproducible builds in a more manageable wayβnot the solution for all the cases but itβs good to have it as an option.
- Show HN: I wrote a RDBMS (SQLite clone) from scratch in pure Python
-
Just write the f*****g parser.
The Parsec library for Haskell uses combinators, and there are a few good resources around the internet which explore it, if you know Haskell.
-
Summing polynomials in Haskell
Parse the expression using parsec library ( if you're unfamiliar with it please check out https://hackage.haskell.org/package/parsec) it's a strong library for parer combinators. Once you parse the expression u need to define and sum up the similar terms. Check this example out - https://fpunfold.com/2020/05/18/making-a-calculator-in-haskell-with-parsec.html
-
Konbini: a new multiplatform parser library
Konbini is a functional parser combinator library inspired by Haskell parsing libraries like Parsec. It's (hopefully) fairly easy to use, and is about as performant as the better-parse library. In fact, it's quite similar to better-parse in many aspects. The main difference is in how parsers are composed. Where better-parse prefers operators and infix functions, Konbini instead uses plain functions.
-
Traverse/mapM for Computation Expressions
Hi everyone, I'm learning F# and currently trying to do a Parsec-like CE, just to get comfortable with computation expressions.
- Is there good introduction to the parsec library for newbies?
-
On a daily base in this sub
good libraries for parsing: parsec, attoparsec etc.
-
Unity to acquire Parsec for $320m
Thank you! When I read the title I only knew about https://hackage.haskell.org/package/parsec, and for a moment I was very confusedβ¦
-
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.
What are some alternatives?
PEG.js - PEG.js: Parser generator for JavaScript
rustdesk - An open-source remote desktop, and alternative to TeamViewer.
Chevrotain - Parser Building Toolkit for JavaScript
Sunshine - Self-hosted game stream host for Moonlight.
URI.js - Javascript URL mutation library
megaparsec - Industrial-strength monadic parser combinator library
http-proxy-middleware - :zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
sunshine - Host for Moonlight Streaming Client
js-yaml - JavaScript YAML parser and dumper. Very fast.
attoparsec - A fast Haskell library for parsing ByteStrings
csv-parser - Streaming csv parser inspired by binary-csv that aims to be faster than everyone else
parsec-parsers - Orphan instances so you can use `parsers` with `parsec`.