js.lua: a fun little experiment

I recently had a few hours to kill and I decided to try out a new language, Lua. In short, it’s a fun little language1 and it’s kind of a cross between JavaScript and Ruby, which I really like. I threw together a little library with JavaScript-like array functions which I named js.lua. A really bad name, but I couldn’t really think of anything else.

Setting everything up was a bit of a pain since I wanted to use LuaRocks and the Busted module for testing. This guide was the only one I could find and thankfully it worked. Working with JavaScript and Node.js has sure made me spoiled since everything’s just a simple Google search away!


  1. Literally. The source code’s only around 20 000 lines long. See “Lua is small”

comments powered by Disqus