General-purpose languages
Use a lightweight embeddable language for scripting and interactive applications.
local message = "Hello from Lua"
print(message)COURSE CURRICULUM
Finish one section at a time or jump directly to a concept you need.
Learn how lua interpreters, chunks, and embedding works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how statements, expressions, and blocks works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how local variables, globals, and lexical scope works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how numbers, strings, booleans, nil, and tables works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how operators, metamethods, and coercion works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how conditionals and truthy decisions works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how loops, iterators, and generic for works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how functions, closures, and multiple returns works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how tables as arrays, maps, and records works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how strings, patterns, and formatting works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how errors, assertions, and protected calls works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how modules, require, and package paths works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how metatables, prototypes, and object patterns works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how files, coroutines, and host integration works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how testing lua modules and embedded behavior works in Lua, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.