@MaBe, indeed, after all, it is just a map or dictionary with a key and an object. I went for the string for several reasons:
To use the module source pattern
To be able to accept source code provided through connectivity
In conversation about Module Development I went a step further: compose a module from module components - not only to avoid possible out of memory condition, but also pull most recent and on demand what is required by the application. (A similar pattern to bootloader: application bootloader).
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.
@MaBe, indeed, after all, it is just a map or dictionary with a key and an object. I went for the string for several reasons:
In conversation about Module Development I went a step further: compose a module from module components - not only to avoid possible out of memory condition, but also pull most recent and on demand what is required by the application. (A similar pattern to bootloader: application bootloader).