Do you think this is working well enough to start using it in some of the IO modules
Probably not quite yet. First off I'm not sure the Web IDE scans modules for code to compile yet, but also it only handles:
function a() { "compiled"; ... }
and not:
var a = function () { "compiled"; ... }
which tends to be used a lot in modules (especially when doing A.prototype.b = function() {...}.
But when that's done then yes, it'd be really handy. Using it in some of the display drivers (especially the ones that have to define fillRect/setPixel) would provide some really big improvements.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Probably not quite yet. First off I'm not sure the Web IDE scans modules for code to compile yet, but also it only handles:
and not:
which tends to be used a lot in modules (especially when doing
A.prototype.b = function() {...}
.But when that's done then yes, it'd be really handy. Using it in some of the display drivers (especially the ones that have to define
fillRect
/setPixel
) would provide some really big improvements.