janet
kaboom.js
janet | kaboom.js | |
---|---|---|
85 | 28 | |
3,563 | 2,665 | |
1.6% | - | |
9.4 | 8.4 | |
8 days ago | 4 months ago | |
C | TypeScript | |
MIT License | MIT 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.
janet
-
Raku Programming Language
I first came across something like this in janet, which includes a PEG system in the standard library. It definitely changed how I think about text processing. Very much of the time what I find myself doing with regex is defining a grammar, but I didn't realize that. I wish more languages included the tools for it, it's a core operation of practical programming.
https://janet-lang.org
-
Rawdrawandroid – Build Android apps without any Java, in C and Make
...I of course would rather embed Janet [1], but I realize what is going to have an easier time gaining popularity %) Also, Lua has Löve [2] which could be immediately usable, among other things.
[1]: https://janet-lang.org/
[2]: https://www.love2d.org/
-
The Fennel Programming Language
I don't think it has absolutely all that, but janet might be close?
https://janet-lang.org/
- CIEL Is an Extended Lisp
-
How the Curse of Lisp impacts your business (even if you don't use Lisp)
> Would you write your own JSON parser, is it that easy in LISP?
I only dally with Lisp(s) but probably not, I'd reach for a library in quicklisp.
However, in Janet (https://janet-lang.org/) there's a PEG parser and I wrote a JSON parser for fun in 134 lines that passes most of the test suite by Nicolas Seriot.
So I'd say it's reasonably easy for a better-skilled programmer than I am.
-
Homoiconic Python
Only tangentially related, but for anyone interested in the idea of a simple, quick Python-like scripting Lisp, there are two Clojure-style languages to look at:
1) Hy (https://hylang.org/, compiles to Python bytecode, usually slower than Python but compatible with all Python libraries)
2) Janet (https://janet-lang.org/, very light Lua-style embeddable VM ~1 Mb, roughly twice as fast as Python for similar ops, very easy C interop)
-
Scriptable Operating Systems with Lua [pdf]
Seems like a perfect use-case for Janet. (https://janet-lang.org/) A fast minimal VM like Lua, but even more extensible than Lua by being a "Lisp" with macro and C extension capabilities. Not a true Lisp, it's very pragmatic and performance-oriented. But it keeps the good stuff.
-
Ask HN: A Lisp with Cargo/NPM like build system?
You might be looking for: https://janet-lang.org/
It comes with a build tool `jpm` which installs dependencies globally by default, but you can have it be installed in your project folder as well.
-
Babashka: Fast native Clojure scripting runtime
I like Clojure, but I never had any good opportunities to use it other than for a few small hobby projects. It is unfortunate that it is so huge with tons of dependencies and no simpler native implementation. I started looking at various LISPs and Schemes to find something lighter to use instead and ended up settling for Janet that I think is Clojure-like enough to be comfortable to use, but in a small native binary with no dependencies and can be embedded in other native programs. I am sure for big, real, projects that Clojure makes more sense, but for my hobby projects and scripts I do not think I will install it again. I am still happy for the things I learned from learning Clojure. It was a real eye-opener for an old OO-programmer.
https://janet-lang.org/
- Janet Language
kaboom.js
-
Vite & Remix Shenanigans
For my case, I was trying to integrate (the deprecated) KaboomJS into React and Remix. I already built a few games years ago with Vanilla JS & Vite, but I really wanted to create a single website that hosted all of the games in one deployment on Vercel.
-
Ask HN: Platform for 11 year old to create video games?
I have used Kaboom https://kaboomjs.com/ to help a diverse group of kids build a simple 2d game together. It’s a toolkit specifically geared toward 2d platform we type games but it could be adapted to make other 2d games. I liked that it was just JavaScript under the hood so you can introduce many programming language concepts, but the engine makes it easy to get things going with very little code. There are also lots of opportunity to focus on design aspects over pure code.
You can also use it online with Replit https://replit.com/@replit/Kaboom#code/main.ts which lets you get up and running quickly and share your work online easily.
Apparently it is no longer actively maintained by Replit, but I’m guessing it still works fine and there is also a community fork: https://github.com/kaplayjs/kaplay?tab=readme-ov-file
- Kaboom: JavaScript library that helps you make games fast and fun
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
Switch to 2D and use kaboom: https://kaboomjs.com/ it is incredibly simple but incredibly rewarding!
-
How to have the coolest booth at a tech conference 🕹👾
But if Lua isn’t really your thing, then you could try out KaboomJS, a similar open-source javascript game library.
- Why is this not working? This was copied from kabooms site and freecodecamp video, but it doesn't work, so what would I change?
- What is the easiest free game engine to use to build a simple game in a short time period?
-
Game development without a computer
kaboom.js - a simple javascript library for 2D games
- kaboom: 💥 JavaScript game library
-
Build an RPG game on Solana
Kaboom is a Javascript game programming library that helps you make games fast and fun. Building games in the browser has never been so easy thanks to Kaboom from Replit. Github
What are some alternatives?
Fennel - Lua Lisp Language
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
get-started-with-clojure - Learn Clojure and Interactive Programming – Zero install
play - The easiest way to start coding games and graphics projects in Python
babashka - Native, fast starting Clojure interpreter for scripting
matter-js - a 2D rigid body physics engine for the web ▲● ■
scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp
melonJS - a fresh, modern & lightweight HTML5 game engine
ferret - Ferret is a free software lisp implementation for real time embedded control systems.
impact - HTML5 Game Engine
fennel-cljlib - Port of clojure.core namespace to Fennel (mirror)
processing - Source code for the Processing Core and Development Environment (PDE)