- 1. Introduction
- 1.1. This project's goals
- 1.2. Why Types
- 2. Programming with types in Teal
- 2.1. Installing tl
- 2.2. Your first Teal program
- 2.3. Types in Teal
- 2.3.1. Arrays
- 2.3.2. Tuples
- 2.3.3. Maps
- 2.3.4. Records
- 2.3.5. Interfaces
- 2.3.6. Generics
- 2.3.7. Enums
- 2.3.8. Functions
- 2.3.9. Union types
- 2.3.10. The type "any"
- 2.4. Local variables
- 2.5. Global variables
- 2.6. Variable attributes
- 2.7. Metamethods
- 2.8. Macro expressions
- 3. Behavior rules
- 3.1. Type aliasing rules
- 3.2. Type variable matching
- 3.3. Pragmas
- 3.4. Current limitations on union types
- 4. Using tl with Lua
- 5. Type definitions for third party libraries
- 6. The Teal Standard Library and Lua compatibility
- 7. Compiler options
- 8. Hacking on tl itself
- 9. The Grammar of Teal
- 10. Other related projects