Teal brings static typing to Lua without sacrificing its minimalism
Teal – A statically-typed dialect of Lua
Teal is a statically-typed dialect of Lua that adds type annotations, arrays, maps, records, interfaces, union types, and generics. It aims to fill a niche similar to TypeScript in the JavaScript world, but stays true to Lua's spirit of minimalism, portability, and embeddability. The compiler, tl, turns .tl source into .lua files, and the project is written in Teal itself.
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.
- ufo
A good example of a large Teal codebase is Luarocks, the Lua package manager: https://github.com/luarocks/luarocks/tree/main/src/luarocks
- Kinrany
I'm curious if there is a comparison to Luau.
- shevy-java
Hisham is one of the key devs there. He started GoboLinux, htop and some more.
Personally I am not the biggest fan of lua as it really is such a light language in every sense of the word (meaning, syntax too and features - too light IMO). But it's good that creativity keeps pushing things forward.
- arisAlexis
What is the purpose of these kind of experiments if not for artistic purposes in the new age of AI?