mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
712 B
712 B
Teal definitions and sources
This directory contains files written in the
Teal language, a typed dialect of
Lua. There are two kinds of files, .tl
Teal source code and .d.tl
type definitions files for modules written in Lua. The later allows
writing type-aware Teal using regular Lua or C code.
Setup
The Teal compiler can be installed from LuaRocks using:
luarocks install tl
Checking types
tl check teal-src/prosody/util/example.tl
Some editors and IDEs also have support, see text editor support
Files of note
module.d.tl
- Describes the module environment.