play
proposal-pipeline-operator
play | proposal-pipeline-operator | |
---|---|---|
3 | 102 | |
183 | 7,382 | |
0.0% | 0.7% | |
0.0 | 2.7 | |
about 1 year ago | 5 months ago | |
Python | HTML | |
- | BSD 3-clause "New" or "Revised" License |
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.
play
-
Kaboom – Replit
Cool to see Kaboom on HN again! Kaboom is the culmination of a multiple attempts at creating a game programming environment aimed at new coders.
It started a few years back when we noticed that many kids come to Replit from Scratch and get lost trying to find the best way to make games. There are many ways to make games with Replit -- pygame, html, love2d -- but based on our research there was still a big gap between the focused and intuitive experience at something like Scratch and anything that we offered at Replit. It felt like we were letting them down.
We thought in order to meet their needs we needed something that satisfied the following constraints:
1. required no setup, importing modules, or any other scaffolding before you start coding
2. had powerful primitives to make something interesting in a handful of lines of code
3. Simple programming model
4. easy to import and use images and other assets
Our first attempt at this was a Python library called Play (https://github.com/replit/play). Play satisfied many of the constraints but because it was written in Python, and we execute Python on the server and stream graphics down to the client via VNC (https://blog.replit.com/native-graphics-love), the experience wasn't uniformly good for everyone using Replit. For example, for kids in India it was really bad (since then we started replicating our servers in India and other places in the world https://blog.replit.com/global).
Our second attempt was a classic BASIC implementation. BASIC was easy to get started with, it had zero bloat, and you could get something on the screen quickly. Sadly, users grew out of the language really quickly. BASIC made simple things straightforward but anything slightly more advanced was hard to impossible to make. I kept trying to evolve the language until it became kind of like QBASIC (optional line numbers, labels, etc). But it felt like sisyphean task.
BASIC HN discussion: https://news.ycombinator.com/item?id=23052050
BASIC docs: https://docs.replit.com/misc/basic
Last year, around the same time I gave up on "completing" BASIC I saw a job application come in for a designer from an indie game dev Tga. Tga was not only a great designer but also an awesome programmer, so we hired him. I pitched him on this project, we started prototyping it in Replit and got something working fairly quickly (early prototypes here: https://replit.com/@gameenv). When we rolled out an alpha version the most surprising thing that happened was that people on our team got addicted to making games. We weren't the target audience, but that's always a good sign. Then kids in our community started having a lot of fun with it -- the more we tested the more conviction we had that we had a solution to the problem.
The last few months we spent working on the Kaboom environment on Replit. It has an awesome asset editor, and a kick-ass debugging tools. And pretty soon we're going to have great autocomplete and intelisense.
To learn more check out the following:
- Kaboom blogpost: https://blog.replit.com/kaboom
- Show HN by designer: https://news.ycombinator.com/item?id=26728774
Some games from the community:
- ReplJewled https://replit.com/@ConnorBrewster/ReplJeweled
- Flappy Mark https://replit.com/@slmjkdbtl/flappymark
- Bamboo Ninja https://replit.com/@RoBlockHead/KaboomJam
- Cookie Vs Oreo https://replit.com/@Coder100/COOKIE-VS-OREOS-KABOOMJS-BOOMOM...
-
ECMAScript Proposals I am excited about
There is a python game framework called Play that emulates Scratch's API. With a function decorator, we can import Play's elegant syntax to JavaScript.
-
Teaching your kid to code with Repl.it
Python Play is an abstraction layer built on top of PyGame that makes it easy to build a more advanced game than with Turtle, but without needing to understand all of the concepts required for PyGame.
proposal-pipeline-operator
-
Pipeline Operator great again!
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
Javascript may get it https://github.com/tc39/proposal-pipeline-operator https://youtu.be/dQw4w9WgXcQ
-
JavaScript Gom Jabbar
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?
Still in stage 2 atm https://github.com/tc39/proposal-pipeline-operator
- lizod - spiritual successor of zod less than 1kb
- Updates from the 96th TC39 meeting
-
Mostly adequate guide to FP (in JavaScript)
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
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
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?
The Proposal is for the Hack pipe, so your example would be
What are some alternatives?
kaboom.js - 💥 JavaScript game library
ionide-vscode-fsharp - VS Code plugin for F# development
proposal-decorators - Decorators for ES6 classes
content - The content behind MDN Web Docs
proposal-deep-path-properties-for-record - ECMAScript proposal for deep spread syntax for Records
ramda - :ram: Practical functional Javascript
FiraCode - Free monospaced font with programming ligatures
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.
proposal-partial-application - Proposal to add partial application to ECMAScript
Statsd - Daemon for easy but powerful stats aggregation
remeda - A utility library for JavaScript and TypeScript.
proposal-pattern-matching - Pattern matching syntax for ECMAScript