Learn by runningTour of Lux
8 short chapters, 15 live cells. Every example runs in your browser — edit anything, press Run, and read the receipt: output, evaluation steps, and a modeled energy figure. No server, no account; nothing leaves the page.
By the last chapter you'll have built a live reactive app and measured two implementations of the same function against each other — in joules.
This page is itself a Lux program. It was authored as a Lux app (view source: tour.lux in this directory) and rendered to the HTML you are reading by lux build --target html. The bar at the bottom is that build's energy receipt. The interactive version lives at /docs/tour.
01Hello, LuxRun your first program and read your first receipt.
2 cells 02ValuesBindings, mutability, lists, and records.
2 cells 06SignalsReactive state, one primitive.
1 cell