Defold gains support for the Teal programming language
The Defold game engine has recently received an update, adding support for the Teal programming language. Teal is a typed dialect of Lua, which is the default scripting language in Defold. Similar to how TypeScript benefits JavaScript developers, Teal helps improve the code quality and reliability of Lua. This addition is part of the new initial support for Lua transpilers in the build pipeline. Currently, this support is limited to transpilation and does not include automatic extern generation for Defold's Lua APIs. Consequently, it is better suited for writing type-safe standalone logic rather than interacting directly with the Defold runtime. Nevertheless, Teal does provide the option to manually write the necessary externs.
Published: 3. Jun. 2024