Get the latest tech news

Teal – A statically-typed dialect of Lua


s a statically-typed dialect of Lua. It extends Lua with type annotations, allowing you to specify arrays, maps and records, as well as interfaces, union types and generics.

It aims to fill a niche similar to that of TypeScript in the JavaScript world, but adhering to Lua's spirit of minimalism, portability and embeddability. To build larger projects, you probably won't want to run tl on each file individually. Teal is free and open source software.Its license is MIT, the same as Lua.

Get the Android app

Or read this on Hacker News