• :) To be fair to it, with a few bugs fixed the all-JS compiler would be pretty usable - it's just that there turns out to be quite a lot of complexity involved in producing Thumb instructions, and I'm very conscious that it's all work that's already been done by GCC - and has been done better :)

    By removing that complexity, I can focus on working out when variables are integers - which means the compiled Espruino code can suddenly get really fast.

    Also it's a very long way towards compiling C code straight into a dynaimcally loadable module, which is something I'd also really like to see. When I get some time I'll try and make a script for it.

About

Avatar for Gordon @Gordon started