yieldparser

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

Yieldparser Alternatives

Similar projects and alternatives to yieldparser

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better yieldparser alternative or higher similarity.

yieldparser reviews and mentions

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() {

Stats

Basic yieldparser repo stats
1
69
7.3
2 months ago

JavaScriptRegenerated/yieldparser is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of yieldparser is TypeScript.

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