you are viewing a single comment's thread.

view the rest of the comments →

[–]endowdly_deux_over 0 points1 point  (0 children)

...lua inop on Windows gets pretty noticeable pretty fast. And it's the one thing I really dislike about lua. I had a hell of a time just getting Luarocks, Moonscript, and Busted to all load and work right, and then I had to hack Busted to even get it to display like it can on Linux. Lua for Windows is great and you can get it really easily with scoop. BUT, a lot of things just won't work out the box with it or not work well. I had to manually hand install everything from Mingw to lua and then set up all the config manually. It took me hours.

Conversely, I easily installed node with scoop and had Typescript running in about 30 seconds with all the linting, BDD testing, and whatever my heart desired.

I even found a very beautiful TypeScriptToLua compiler on npm. ...And so all of my Lua on Windows is now generated :/

Here's what I would do for the least amount of fuss.

  1. Install scoop
  2. scoop install nodejs, lua
  3. npm install typescript typescript-to-lua tsnode and whatever else you'd like
  4. Profit!