It's really not that hard to compile your own firmware - especially with Docker/Vagrant. Basically if you have the tools to compile a library for Espruino, you can compile the full firmware - and it'll be easier to understand than if you have to get your head around a homebrew DLL system :)
About the only thing that'd help (IMO) is a make menuconfig sort of thing that could automatically scan the libs folder for modules that you could choose whether you wanted to include or not.
Of course you can use nativeCall relatively easily to add your own compiled code like this, but you're pretty limited with how much you can interact with Espruino as you don't have access to that many of its internal functions.
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 really not that hard to compile your own firmware - especially with Docker/Vagrant. Basically if you have the tools to compile a library for Espruino, you can compile the full firmware - and it'll be easier to understand than if you have to get your head around a homebrew DLL system :)
About the only thing that'd help (IMO) is a
make menuconfig
sort of thing that could automatically scan thelibs
folder for modules that you could choose whether you wanted to include or not.Of course you can use
nativeCall
relatively easily to add your own compiled code like this, but you're pretty limited with how much you can interact with Espruino as you don't have access to that many of its internal functions.