Javascript on Arduino Due

Dear Forum,

maybe anyone is interested - I ported Espruino (a Javascript Interpreter for Mikrocontrollers) to the Arduino Due.

Now you can just type:

var l;
setInterval("digitalWrite(D13,l=!l);",1000);

to blink a LED.

Here is the Code:
https://github.com/ThomasChr/Espruino/tree/duedev

If anyone wants to try it out, I can upload a binary file which can be transfered (with bossac) to the DUE.

Status: REPL is working, Timing is working, setting pins, reading pins and configuring Pins for Input/Output is working.
The next thing is to get 'save()' to work. This saves the Javascript Code in the DUE Flash and makes is possible to have the code persistent across resets.

Thomas