Yesterday I completed some pretty big changes to Espruino that allow built-in functions to be referenced. This means you can now do some of the more interesting JavaScript stuff, like:
As I said, they're pretty big changes. I've tested it against the tests that I have, but I'd be pretty sure that there were still outstanding problems, so I don't want to make a new release until it has been tested some more.
Please can you help me out and let me know if anything's broken that was working before?
Because you can now take the built-in functions and use them in ways that weren't intended (eg. SPI1.send.apply(I2C1,"foo")) you may be able to get some instability/odd errors when doing things like that and it'd be great if you could help find those. Even better if you can fix them too ;)
To test the newest version, just flash via the Web IDE in the normal way, but copy and paste this URL into the flasher:
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,
Yesterday I completed some pretty big changes to Espruino that allow built-in functions to be referenced. This means you can now do some of the more interesting JavaScript stuff, like:
As I said, they're pretty big changes. I've tested it against the tests that I have, but I'd be pretty sure that there were still outstanding problems, so I don't want to make a new release until it has been tested some more.
Please can you help me out and let me know if anything's broken that was working before?
Because you can now take the built-in functions and use them in ways that weren't intended (eg.
SPI1.send.apply(I2C1,"foo")
) you may be able to get some instability/odd errors when doing things like that and it'd be great if you could help find those. Even better if you can fix them too ;)To test the newest version, just flash via the Web IDE in the normal way, but copy and paste this URL into the flasher:
Anyway, it'll be great to get this all released - I think this fixes the biggest incompatibility that Espruino had with normal JavaScript code.