yieldparser VS parser-combinators

Compare yieldparser vs parser-combinators and see what are their differences.

yieldparser

Parse using JavaScript generator functions — it’s like components but for parsing! (by JavaScriptRegenerated)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
yieldparser parser-combinators
1 1
69 6
- -
7.3 3.4
3 months ago about 1 year ago
TypeScript TypeScript
MIT License -
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.

yieldparser

Posts with mentions or reviews of yieldparser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-19.
  • Casual Parsing in JavaScript
    5 projects | news.ycombinator.com | 19 Aug 2021
    I’ve found generator functions work great for parsers. You yield the tokens you expect to be next. The token could be a string, a regular expression to be matched, or another generator function.

    The library is open source here, contributions welcome: https://github.com/RoyalIcing/yieldparser

    Generator functions have great support in modern browsers (not IE) and Node.js.

    For example here’s a simple v4 IP address parser:

    import { parse, mustEnd } from 'yieldparser';

    function* Digit() {

parser-combinators

Posts with mentions or reviews of parser-combinators. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-19.
  • Casual Parsing in JavaScript
    5 projects | news.ycombinator.com | 19 Aug 2021
    Parser combinators [0] are great for quick parsing, usage from typescript is very neat. You can collapse tokenisation, parsing and some evaluation for simple grammars (they appear in production from time to time) into single parser combinator phase (there’s nothing else) where you get desired, typed result.

    [0] https://github.com/appliedblockchain/parser-combinators

What are some alternatives?

When comparing yieldparser and parser-combinators you can also consider the following projects:

hyperformula - HyperFormula is an open-source headless spreadsheet for business web apps. It comes with over 400 formulas, CRUD operations, undo-redo, clipboard support, and sorting. Built in TypeScript, supported by the Handsontable Team.

instaparse

pattern-grab - 🤛🏻 Regular Expression Data Grabber

parser - String parser combinators

three-pass-compiler - Solution to the Three Pass Compiler kata on CodeWars, parsing and manipulating a very simple AST

umbrella - ⛱ Broadly scoped ecosystem & mono-repository of 192 TypeScript projects (and 157 examples) for general purpose, functional, data driven development

reco - Regular Expression COmpiler - Compile a regex ahead of time to code