Hacker News new | ask | show | jobs
by justincormack 4386 days ago
Actually, a microcontroller that runs Lua. They released the source for the JavaScript to Lua compiler today https://github.com/tessel/colony-compiler
4 comments

I wonder if you can run code without going through the transpiler. Then you could program it in a sane language.
I wonder if this can be used for redis scripting. I bet a lot of people writing node.js apps would like to be able to write redis scripts in JS.
That's pretty awesome. I love Lua lately, for its simplicity both in design and implementation, and it's great to see that I can use it in an MCU! That said, it's pretty dumb that it has to have a JS transpiler in order to get popular.
Apparently you cannot run code without using the transpiler, but it is planned.

They also mention that the API will be awkward to use from Lua, but it's probably pretty easy to fix this.

http://forums.tessel.io/t/running-lua-on-tessel/91

Lua has actually had a microcontroller project for years see http://www.eluaproject.net/ but without the nice slick deployment that tessel has.
It could be a really interesting tool for porting (some) javascript npm modules to luvit (a nodejs reimplementation with lua instead of js) as well :-)

Just seems like an interesting way to bolster the ecosystem :-)