This looks really cool - I'm a bit busy now but this seems like it could make loading assembler modules a lot easier.
I wonder - this is slightly different, but what do you think about using the same file format as GCC? It contains the function names and argument types, and would make loading C or Assembler code trivial... You'd just compile it directly and then load the '.o' file into Espruino.
I don't know if that's possible or not or whether some other linkage is required, but it could be possible?
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.
The next post (about lib) is at: http://forum.espruino.com/conversations/257273
This looks really cool - I'm a bit busy now but this seems like it could make loading assembler modules a lot easier.
I wonder - this is slightly different, but what do you think about using the same file format as GCC? It contains the function names and argument types, and would make loading C or Assembler code trivial... You'd just compile it directly and then load the '.o' file into Espruino.
I don't know if that's possible or not or whether some other linkage is required, but it could be possible?