News for hackers. Stuff that matters.
Re:Luau – A fast, small, safe, gradually typed scripting lan... by minxomat on Wednesday August 05, 2020 @07:52AM (#24059792)
There is a typescript for lua: https://github.com/teal-language/tl
Re:Luau – A fast, small, safe, gradually typed scripting lan... by dgb23 on Wednesday August 05, 2020 @07:57AM (#24059830)
Is it actually a TS for Lua or does it use the annotations to improve performance?
Re:Luau – A fast, small, safe, gradually typed scripting lan... by MaxBarraclough on Wednesday August 05, 2020 @08:18AM (#24059966)
It transpiles to plain Lua, so presumably it doesn't improve performance.

https://github.com/teal-language/tl/blob/master/docs/about.m...

Re:Luau – A fast, small, safe, gradually typed scripting lan... by minxomat on Wednesday August 05, 2020 @10:12AM (#24060947)
No, literally TS. It compiles to plain Lua, doesn't add any language features apart from types, has an equivalent strict mode and uses .d.tl files just like .d.ts