Hello, world
The smallest Lux program — one function, one print.
Open in the playground (full editor) →
Walkthrough
- fn main(): declares the entry point — a colon opens an indented block, like Python.
- print writes to standard output. The standard library ships with the runtime; there is nothing to import for common work.
- No semicolons, no braces, no boilerplate: this is the complete program.