Hasty Briefsbeta

Bilingual

The Teal Programming Language

a year ago
  • #programming
  • #types
  • #lua
  • Teal is a statically-typed dialect of Lua, adding type annotations for arrays, maps, records, interfaces, union types, and generics.
  • It aims to be like TypeScript for Lua, maintaining Lua's minimalism, portability, and embeddability.
  • Teal code is compiled into Lua using the `tl` compiler, which can be installed via LuaRocks (`luarocks install tl`).
  • Pre-compiled binaries are available for Linux and Windows.
  • For larger projects, Cyan is the recommended build tool for Teal.
  • Development tools include vscode-teal for VS Code and teal-language-server for NeoVim.
  • Teal has online documentation, recorded talks, and community forums (GitHub Discussions and Matrix chat).
  • Teal is developed by Hisham Muhammad and contributors, written in Teal itself, and is MIT-licensed.