tslua
A fast TypeScript-to-Lua transpiler, written in Go, powered by typescript-go. Built on the architecture and test suite of TypeScriptToLua.
Try it
Section titled “Try it”npm install @tslua/cli// tslua eval -econst items = [10, 20, 30];for (const x of items) { print(x * 2);}
// output:// items = {10, 20, 30}// for ____, x in ipairs(items) do// print(x * 2)// endTargets LuaJIT and Lua 5.0-5.5. Passes 99% of TSTL’s test suite. See the CLI reference for all commands and flags.