moddable
ESP-TypeScript
moddable | ESP-TypeScript | |
---|---|---|
12 | 2 | |
1,274 | 160 | |
1.3% | - | |
9.8 | 0.0 | |
1 day ago | over 1 year ago | |
C | TypeScript | |
- | - |
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.
moddable
-
Is there a safe and robust interpreter/scripting language? Or should I write it myself?
Your project might be a good candidate for the Moddable SDK: https://github.com/Moddable-OpenSource/moddable In particular the "mods" feature that allows sandboxed user scripts.
- Moddable Embedded JavaScript SDK 3.5.0
-
The Story of Mel, a Real Programmer
> meaning that to deploy those apps requires embedding an entire web browser into every app
It doesn't require it, that's just what they choose, and it has little to do with the language. (Besides, if you actually observe them—and ignore what they tell you about liking JS—then it's clear that most of them hate their preferred language.) Languages and the bindings that a particular runtime exposes are orthogonal. You can have GTK apps written in JS, for example, or you can write a program in JS that compiles into a binary that runs on a microcontroller[2].
This is much more of a problem with the culture of Electron and the adjacent NPM ecosystem than it is anything else. Conflating the source of these problems is a great way to tank any would-be activism meant to solve them.
1. <https://en.wikipedia.org/wiki/GNOME_Shell>
2. <https://github.com/Moddable-OpenSource/moddable/blob/public/...>
- Moddable SDK: Embedded ECMAscript engine supports RasPi, littlefs file system
-
Microvium Is Small
I experimented with Moddable some time ago and also contributed a module for Linux. It's written in C and I found the code quite readable, and the entire architecture good too. It's almost ES6 complete too.
https://github.com/Moddable-OpenSource/moddable
https://www.moddable.com/
-
Pikascript: An ultra-lightweight Python engine that can run in 4Kb of RAM
There's JavaScript/ECMAScript via Moddable's XS engine: https://github.com/Moddable-OpenSource/moddable
"A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."
- Moddable JavaScript SDK for Raspberry Pi Pico
-
Why is MicroPython a thing
You think that’s bad. How about JavaScript for embedded https://github.com/Moddable-OpenSource/moddable
- Running TypeScript on ESP8266/ESP32 Devices
- Why doesn’t V8 fit on my microcontroller?
ESP-TypeScript
What are some alternatives?
quickjs-esp32 - QuickJS port for ESP32
Espruino - The Espruino JavaScript interpreter - Official Repo
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
esp8266-react - A framework for ESP8266 & ESP32 microcontrollers with a React UI
PikaPython - An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.
dashboard - ESPHome dashboard and ESPHome Web
phpdesktop - Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite
ionic - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript. [Moved to: https://github.com/ionic-team/ionic-framework]
microvium - A compact, embeddable scripting engine for applications and microcontrollers for executing programs written in a subset of the JavaScript language.
stack-chan - A JavaScript-driven M5Stack-embedded super-kawaii robot.