yieldparser VS parser

Compare yieldparser vs parser and see what are their differences.

yieldparser

Parse using JavaScript generator functions — it’s like components but for parsing! (by JavaScriptRegenerated)

parser

String parser combinators (by preludejs)
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
1 4
69 5
- -
7.3 6.6
3 months ago 21 days ago
TypeScript TypeScript
MIT License 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

Posts with mentions or reviews of parser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-04.
  • Ramda: A practical functional library for JavaScript programmers
    7 projects | news.ycombinator.com | 4 Aug 2023
    I find straight forward, dedicated combinators much more readable and practical to use ie. for iterables (context where it makes a lot of sense) [0] example [1], runtime assertions (through refutations, which are much faster than combinators over assertions) [2], parser combinators for smallish grammars [3] etc.

    In many cases vanilla/imperative js is more readable and terse, no need to bring functional fanaticism everywhere, just in places where it gives true benefits and in form that can be understood by peers.

    Functional code can be beautiful and can also be unreadable/undebugable. Same with imperative code. It's great in js/ts you can pick approach where the problem is expressed more naturally and mix it at will.

    [0] https://github.com/preludejs/generator

    [1] https://observablehq.com/@mirek/project-euler

    [2] https://github.com/preludejs/refute

    [3] https://github.com/preludejs/parser

  • Parsing Text with Nom
    4 projects | news.ycombinator.com | 12 Jan 2022
    Parser combinators are great, we're using parser combinators in production, they are great ie. for typescript [0].

    [0] https://github.com/preludejs/parser

  • Parser Combinators in Haskell
    10 projects | news.ycombinator.com | 22 Dec 2021
  • Casual Parsing in JavaScript
    5 projects | news.ycombinator.com | 19 Aug 2021

What are some alternatives?

When comparing yieldparser and parser 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