By Vladislav Protsenko on Sep 11, 2025
We are happy to announce a release of Teal extension v1.4 for Defold! Defold uses Lua for scripting and integrates with the excellent Lua language server, which supports type annotations and warns you about potential type issues during development. However, these annotations in the Lua language server are only warnings and do not enforce type safety. For developers who require robust, project-wide type checking, there is the Teal language — a statically-typed, minimalistic, and pragmatic dialect of Lua.
Until now, Defold’s Teal integration was quite basic: it could only compile Teal files to Lua and otherwise treated them as plain text. With this new release, Teal support in Defold has improved dramatically:
Demo:
What’s next for Teal support (no ETA yet, but these features are planned):