4 ms·
I prefer TypeScriptToLua's approach: https://typescripttolua.github.io/ https://typescripttolua.github.io/ The data structures are unchanged, so you have to re
by hunterb123 5y ago
I prefer TypeScriptToLua's approach: https://typescripttolua.github.io/ https://typescripttolua.github.io/
The data structures are unchanged, so you have to remember to use base index 1 etc, but you get modern syntax and TS's great inferred typing system.
Definitely scales better than raw Lua but you get the perf and compat wherever Lua[jit] is supported.
It's nice if you used to use Lua and you use TS as a daily driver, you just have to remember the differences.
There's also Teal (https://github.com/teal-language/tl https://github.com/teal-language/tl) but I haven't gotten around to trying it, it may be less confusing to others.