1MB for save code won't work, as far as I have seen in the code. The main reason is that saved code must be first allocated somewhere in RAM, and we do not have so much RAM :)
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.
Hi @Pedro,
I fully agree, it's a waste of space.
At the end it will be a solution that calculates JsVars * 16 byte and add the rest as FlashArea.
I definitely will try it, because this is too temptingly :)