I wonder how it will work when you convert it back to readable data, like using edit(f) directly on device, also when you mix quotes or double quotes to include the other quote. Currently function f() {var a='aaa"aaa';print(a);} remembers the type of quotes when using edit(f). So these tokenised ones will simply print always quoted with " and the binary data or ' escaped(?)
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 wonder how it will work when you convert it back to readable data, like using
edit(f)
directly on device, also when you mix quotes or double quotes to include the other quote. Currentlyfunction f() {var a='aaa"aaa';print(a);}
remembers the type of quotes when usingedit(f)
. So these tokenised ones will simply print always quoted with"
and the binary data or'
escaped(?)