Hacker News new | ask | show | jobs
by boyned 963 days ago
Darklua can compile Luau to Lua 5.1: https://github.com/seaofvoices/darklua
1 comments

Darklua is brilliant and works well for converting existing Lua projects to Luau for improved type safety as well as the reverse to convert existing Luau projects to Lua, allowing better compatibility. Unfortunately last I checked continue statements, if-then-else expressions, and interpolated strings weren't yet supported for conversion to Lua and still had open issues, which was a problem for a number of Luau libraries, though it's still resulted in an improvement in development experience for us.