trealla-js VS proposal-pipeline-operator

Compare trealla-js vs proposal-pipeline-operator and see what are their differences.

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
trealla-js proposal-pipeline-operator
9 102
33 7,386
- 0.8%
8.4 2.7
9 days ago 6 months ago
TypeScript HTML
MIT License BSD 3-clause "New" or "Revised" 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.

trealla-js

Posts with mentions or reviews of trealla-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-12.
  • The Power of Prolog
    3 projects | news.ycombinator.com | 12 Sep 2023
  • Using Prolog in Windows NT Network Configuration (1996)
    5 projects | news.ycombinator.com | 21 Jul 2023
    I think Prolog really shines as an embedded query engine (I know this is old and it's been removed since). It's perfect for declarative configuration, very easy to write powerful queries once you wrap your head around it.

    The Yarn constraints plugin also used (Tau) Prolog, although it looks like it's in the process of being replaced with JS, which makes me a bit sad. The reasoning is here: https://github.com/yarnpkg/berry/issues/1276. Seems like the biggest issue is lack of a nice dev environment. I maintain the Trealla Prolog Wasm port (npm package 'trealla') and I hope some day to use it for a VSCode extension or LSP or something to provide a nice dev experience. Performance has also been cited as an issue[1] but Trealla is quite fast and I expect it could easily handle a complex Yarn workspace with tons of facts. If this sounds like something you'd be interested in helping me with, feel free to contact me or make an issue/discussion here: https://github.com/guregu/trealla-js

    [1]: https://github.com/yarnpkg/berry/issues/4079#issuecomment-10...

  • How do I learn system programming?
    3 projects | /r/cscareerquestions | 10 Jan 2023
    port a C or Rust project to wasm and make a JS package for it (trealla-js is an example of such a package, porting a C Prolog interpreter to wasm)
  • PHP: Prolog Home Page
    10 projects | news.ycombinator.com | 7 Jan 2023
    Hey, this is mine. Thanks for submitting it. I'll answer some questions.

    > Why?

    I ported Trealla Prolog to WASM (WASI) and I was looking for something useful to test it against. I found Spin, which can run WASM+CGI, and landed on this. Making this project exposed a number of bugs in my port that have now been fixed, so consumers of more useful projects[1][2] benefit as well. Also, PHP style templates are just fun! There's something valuable to just being able to shove a little bit of code inside some HTML and get it up on the internet.

    I started my webdev journey with PHP many many years ago, and it's nice to revisit it from a different perspective. I don't use the real (elephant) PHP anymore, but I've gained a newfound appreciation for how fun its quick & dirty development style is.

    I hope this project can serve as an example of how to use Prolog for fun things. It does showcase some of the cooler dynamic aspects of the language, and the PHP parsing code is like 10 lines of DCG.

    > Is it a joke?

    Yes and no. The name is certainly a joke. I was pondering what 'Prolog on Rails' might be and thought calling it PHP would be funny. This led to the PHP-style templates which were quick to implement and pretty powerful. Despite the humorous presentation, it does actually work.

    > Can you use Prolog for web services?

    Yes! For example, SWI has a mature HTTP package: https://www.swi-prolog.org/pldoc/doc_for?object=section(%27p.... It's used to power SWISH, an online Prolog code sharing thing: https://swish.swi-prolog.org/

    > Next steps?

    I would like to support persistence somehow. I think it'd be really cool if you could use Prolog's dynamic database[3] as a persistent store. Spin has components for Postgres and Redis so it shouldn't be too hard to implement, but I lose the WASI compatibility if I do that... which means I can't use the binary from WAPM, etc.

    I would also like to experiment with running Trealla on Cloudflare Workers. I have another project, worker-prolog[4], which uses Tau Prolog (a Prolog written in Javascript) on Workers.

    On a somewhat related note, I've also been playing around with Cosmopolitan libc[5]. I got Trealla to compile to an APE executable but there's some issues with the embedded Prolog libraries getting garbled, so I need to improve my GDB skills and figure out what's going on there.

    Finally, I'd like to say thanks to Andrew Davison (@infradig on GitHub), the author of Trealla Prolog, for letting me add WASM support to his project and helping me with lots of things. For example, PHP led to Andrew implementing improvements for using DCGs to parse Prolog terms, which is now super fast[6]!

    [1]: https://github.com/guregu/trealla-js

    [2]: https://github.com/trealla-prolog/go

    [3]: https://www.swi-prolog.org/pldoc/man?predicate=assertz/1

    [4]: https://github.com/guregu/worker-prolog

    [5]: https://justine.lol/cosmopolitan/

    [6]: https://github.com/trealla-prolog/trealla/issues/53

  • Prolog at work
    4 projects | /r/prolog | 28 Dec 2022
    With trealla-prolog/go on the backend and trealla-js on the frontend, you can share the same validation code.
  • Why Would Anyone Need JavaScript Generator Functions?
    19 projects | news.ycombinator.com | 7 Nov 2022
    I found async generators to be handy while porting a C Prolog interpreter to WASM/JS. A `for await` loop is a natural way to iterate over query results, and as a bonus you can use `finally` within the iterator to automatically clean up resources (free memory). There are ways for determined users to leak (manually iterating and forgetting to call `.return()`) but I've found that setting a finalizer on a local variable inside of the generator seems to work :-). I can't say manual memory management is a common task in JS but it did the trick.

    The generator in question, which is perhaps the gnarliest JS I've ever written: https://github.com/guregu/trealla-js/blob/887d200b8eecfca8ed...

  • trealla-js: Trealla Prolog for the web
    1 project | /r/prolog | 9 Oct 2022
  • The Ciao System
    1 project | news.ycombinator.com | 25 Sep 2022
  • Trealla Prolog for the Web
    1 project | news.ycombinator.com | 12 Sep 2022

proposal-pipeline-operator

Posts with mentions or reviews of proposal-pipeline-operator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-29.
  • Pipeline Operator great again!
    2 projects | dev.to | 29 Sep 2023
    Current Status: You'd have to check the TC39 proposals repository or the official proposal text for the most recent status. As of my last update, it had not yet reached Stage 4 (final stage) of the TC39 process, which means it wasn't part of the ECMAScript specification yet.
  • pipesAreFun
    3 projects | /r/ProgrammerHumor | 4 Jul 2023
    Javascript may get it https://github.com/tc39/proposal-pipeline-operator https://youtu.be/dQw4w9WgXcQ
  • JavaScript Gom Jabbar
    12 projects | news.ycombinator.com | 2 Jul 2023
    It can be further simplified. For example, you don't need two separate functions to extract the first chat completion message etc.

    This version:

    - uses existing language constructs

    - can be immediately understood even by the most junior devs

    - is likely to be 1000 times faster

    - does not rely on an external dependency that currently has 143 issues and every two weeks releases a new version adding dozens of new methods to things

    Note: one thing I do wish Javascript adopted is pipes: https://github.com/tc39/proposal-pipeline-operator

  • What's new in ES2023?
    2 projects | /r/javascript | 30 May 2023
    Still in stage 2 atm https://github.com/tc39/proposal-pipeline-operator
  • lizod - spiritual successor of zod less than 1kb
    2 projects | dev.to | 23 May 2023
  • Updates from the 96th TC39 meeting
    5 projects | /r/javascript | 19 May 2023
  • Mostly adequate guide to FP (in JavaScript)
    5 projects | news.ycombinator.com | 21 Mar 2023
    Both are active tc39 proposals :)

    https://github.com/tc39/proposal-pipeline-operator - Stage 2

    https://github.com/tc39/proposal-pattern-matching - Stage 1

    Hopefully we get both in the next couple of years.

  • Tipe - typed pipe
    2 projects | /r/Python | 6 Mar 2023
    Some time ago I saw how hyped JS community was about pipeline operator proposal. So I tried to make something similar in python. There is how tipe module was created. Check it out if you are interested: https://github.com/mishankov/tipe
  • CoffeeScript for TypeScript
    5 projects | news.ycombinator.com | 27 Feb 2023
    We often add promising TC39 proposals into Civet so people can experiment without waiting.

    We've added https://github.com/tc39/proposal-pipeline-operator, a variant of https://github.com/tc39/proposal-pattern-matching, a variant of https://github.com/tc39/proposal-string-dedent and others.

    Since our goal is to be 99% compatible with ES we'll need to accommodate any proposals that become standard and pick up anything TC39 leaves on the table (rest parameters in any position, etc.)

  • [AskJS] Is JavaScript missing some built-in methods?
    13 projects | /r/javascript | 23 Feb 2023
    The Proposal is for the Hack pipe, so your example would be

What are some alternatives?

When comparing trealla-js and proposal-pipeline-operator you can also consider the following projects:

ciao - Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.

ionide-vscode-fsharp - VS Code plugin for F# development

async-generator - Async generator module.

content - The content behind MDN Web Docs

Bumble - A small JavaScript game framwork

ramda - :ram: Practical functional Javascript

trealla - A compact, efficient Prolog interpreter written in plain-old C.

FiraCode - Free monospaced font with programming ligatures

pyswip - PySwip is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.

Gigablast - Nov 20 2017 -- A distributed open source search engine and spider/crawler written in C/C++ for Linux on Intel/AMD. From gigablast dot com, which has binaries for download. See the README.md file at the very bottom of this page for instructions.

php - Prolog Home Page

proposal-partial-application - Proposal to add partial application to ECMAScript