I wonder how it will work when you convert it back to readable data
It's smart enough to know:
>E.setFlags({pretokenise:true}) >function f() {var a='aaa"aaa';print(a);} >edit(f) >function f() {var a="aaa\"aaa";print(a);}
It's not perfect, but then if you've enabled pretokenisation you have to expect it won't be able to put everything back exactly as it was
@Gordon started
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.
It's smart enough to know:
It's not perfect, but then if you've enabled pretokenisation you have to expect it won't be able to put everything back exactly as it was