delimgen

Delimited Generators - Minimal Delimited Control for JS (by manuel)

Delimgen Alternatives

Similar projects and alternatives to delimgen based on common topics and language

  • effection

    6 delimgen VS effection

    Structured concurrency and effects for JavaScript

  • continuation

    Delimited Continuations for JavasScript

  • 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 logo
  • lispx

    1 delimgen VS lispx

    Ultralight Lisp for the Web

  • co

    3 delimgen VS co

    The ultimate generator based flow-control goodness for nodejs (supports thunks, promises, etc)

  • taskr

    0 delimgen VS taskr

    A fast, concurrency-focused task automation tool.

  • suspend

    0 delimgen VS suspend

    Callback-free control flow for Node using ES6 generators.

  • bluebird-co

    A set of high performance yield handlers for Bluebird coroutines

  • 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.

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

delimgen reviews and mentions

Posts with mentions or reviews of delimgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • A more natural API for JavaScript generators
    4 projects | news.ycombinator.com | 3 May 2024
    I think it's unclear because the examples are simple enough that you could easily reproduce them with generators.

    I think the ball example (https://github.com/manuel/delimgen/blob/main/demo/balls.html) is maybe the most helpful to look at. It provides an abstraction over the wrapped generator which allows you to inject events into the generator. You could do this with generators alone, but this syntax lets you write it more like synchronous code (and has the added benefit of not being "coloured" by async/await). The `run` method essentially allows you to pass of handling of a continuous process so you don't need to worry about the orchestration of concurrent tasks. In this case, ball is able to move itself around the document as soon as it's yielded, and the implementation details of that behaviour are totally hidden from where the event is injected.

    I'm still trying to wrap my head around how I'd use delimited continuation in more practical ways, so I might be misunderstanding quite badly. It seems to me that generators themselves are a form of continuation, and we often create delimited continuations when we implement programs with generators. In this case, the library essentially ties the loose ends by reifying the continuation as a function. In this case, the function is what provides the synchronous-like syntax as well.

Stats

Basic delimgen repo stats
1
10
8.3
20 days ago

manuel/delimgen is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of delimgen is JavaScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com