I'd just use the 'Online Closure Compiler'. Wrap your code in (function()
{ .... })(), run it through with 'simple optimisations' and then strip that text out afterwards.
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.
I'd just use the 'Online Closure Compiler'. Wrap your code in
(function() { .... })()
, run it through with 'simple optimisations' and then strip that text out afterwards.