mjs
jerryscript
mjs | jerryscript | |
---|---|---|
4 | 14 | |
1,816 | 6,827 | |
0.5% | 0.3% | |
0.0 | 5.6 | |
4 months ago | 14 days ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
mjs
-
A list of JavaScript engines, runtimes, interpreters
mjs
-
TypeScript is the Only Programming Language you Need: TypeScript Everywhere
I hear you loud and clear.
-
Elk: A low footprint JavaScript engine for embedded systems
This implementation is nuts. A decent chunk (but still very small subset) of ES5 in under 1400 lines of very readable C code. It includes a mark-and-sweep GC and an FFI.
It doesn't have an AST or a bytecode VM. It just interprets directly off of source code.
Take a look: https://github.com/cesanta/elk/blob/master/elk.c.
This implementation really sets a new bar for me in terms of compact-but-readable language implementations.
Separately, this isn't even Cesanta's only embedded JavaScript implementation. They also have: https://github.com/cesanta/mjs. This implementation is a bit more complete and is much bigger.
-
What is your programming stack, as well encryption with ESP32?
In the past I've programmed with ESP8266 with Mongoose OS using mJS - https://github.com/cesanta/mjs but it has on 1.5K GitHub stars and I assume there are other alternative as well for Python language
jerryscript
-
A list of JavaScript engines, runtimes, interpreters
JerryScript
-
JavaScript Runtime and Code Lifecycle
Some IoT platforms use Duktape and JerryScript as their engines.
-
DeviceScript: TypeScript for Tiny IoT Devices
I've been having a lot of fun with https://kalumajs.org/ recently for silly JS embedded things. It's been great so far, and has a cool little community!
It's a runtime built on top of JerryScript, which has been pretty neat to look into as well: https://jerryscript.net/
-
Good example open source C++ embedded projects
Jerryscript came to mind : https://github.com/jerryscript-project/jerryscript
- Arduino Announces MicroPython Support
-
JavaScript embedded inside Elixir
I personally quite like JerryScript
-
Kaluma - tiny JavaScript runtime for microcontrollers - includes a browser-based IDE that can communicate with a Raspberry Pi Pico and other RP2040 boards via Web Serial API. Write code in the browser (in JavaScript), then copy and run it on the board with a click of a button.
Based on JerryScript, the creators also provide an IDE and serial communication tool on their website. There's also ample documentation and guides. Looking forward to getting more into this.
-
TypeScript is the Only Programming Language you Need: TypeScript Everywhere
I hear you loud and clear.
-
Can the PineTime Watch stream music without a phone? (Onboard music storage)
There are subsets of JS for embedded device e.g. Espruino https://github.com/espruino/Espruino for BangleJS https://shop.espruino.com/banglejs also with 4MB or JerryScript https://jerryscript.net
-
Txiki.js: Tiny JavaScript runtime built with QuickJS and libuv
Fitbit uses Jerryscript in some of their watch OSes. Well, at least they were last time I was tinkering with making my own watch face
https://jerryscript.net/
What are some alternatives?
quickjs - Public repository of the QuickJS Javascript Engine.
elk - A low footprint JavaScript engine for embedded systems
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
elk - A nimble Mastodon web client
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Home - :house: The landing page for .NET nanoFramework repositories.
Espruino - The Espruino JavaScript interpreter - Official Repo
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
quickjspp - Port of QuickJS Javascript Engine.
ts2c - Convert Javascript/TypeScript to C
just - the only javascript runtime to hit no.1 on techempower :fire: