# Teal Teal is a typed dialect of [Lua](https://www.lua.org/). Teal code is compiled to Lua, which then runs in the browser using [Fengari](https://fengari.io/). See documentation for Lua language support in LiveCodes [here](./lua.html.md). ## Usage JavaScript interoperability and DOM access is achieved using [`"js"` module](https://github.com/fengari-lua/fengari-interop). import LiveCodes from '../../src/components/LiveCodes.tsx'; This example demonstrates usage, JavaScript interoperability and DOM access: ## Language Info ### Name `teal` ### Extension `.tl` ### Editor `script` ## Compiler [Teal](https://github.com/teal-language/tl) ### Version Teal v0.15.2 ## Code Formatting Using [`lua-fmt`](https://github.com/trixnz/lua-fmt). ## Starter Template https://livecodes.io/?template=teal ## Links - [Teal](https://github.com/teal-language/tl) - [Teal documentation](https://github.com/teal-language/tl/tree/master/docs) - [Teal tutorial](https://github.com/teal-language/tl/blob/master/docs/tutorial.html.md) - [Lua](https://www.lua.org/) - [Lua documentation](https://www.lua.org/docs.html) - [Fengari](https://fengari.io/) - [lua](./lua.html.md) in LiveCodes - [lua-wasm](./lua-wasm.html.md) in LiveCodes