Skip to content

sfranzyshen/ArduinoJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ArduinoJS

ArduinoJS is a Arduino IDE Library that provides a "JavaScript VM Engine" hosted on top of the Arduino IDE environment. This allows adding JavaScript scripting functionality within an Arduino Sketch.

Unlike other microcontroller JavaScript implementations, ArduinoJS does not try to replace the Arduino development environment with a bare metal JavaScript framework or try to implement a full JavaScript framework with a parser,compiler, or repl ... no modules trying to handle all aspects of the microcontrollers hardware.

Rather, ArduinoJS takes a simpler approach by only implementing a bare minimal JavaScript VM environment that is built up from and leveraging the Arduino IDE existing libraries and framework. Also, ArduinoJS only has a bytecode interpreter virtual machine engine ... no eval() or REPL ... per say ... but any bytecode can be executed either from ram, rom, or flash ... a full c function interface is provided to map existing Arduino code into the JavaScript environment ... as well as the ability to call Javascript (Bytecode) from Arduino sketches.

Resources

https://github.com/svaarala/duktape

https://github.com/jerryscript-project/jerryscript

https://github.com/Moddable-OpenSource/moddable

About

Embedded JavaScript Engine for adding JS Scripting within Arduino IDE Sketches

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published