Free, and nothing to install
Six ways into Raku.
Lessons for your first hour, questions to test yourself, articles for people who already know another programming language, complete programs, whole tasks worked end to end, and the exact rules behind it all. Almost every example runs right in the page, on Raku++.
Six parts
Each part teaches in its own way and stands on its own. Together they take you from the first lesson to the exact rules.
Lessons
A Tour of Raku
Eighteen short lessons, from Hello, world to grammars and junctions. Each explains one part of the language in a few paragraphs, and you can change and run every example. The whole tour takes about an hour.
- lessons
- 18
- live examples
- 87
Begin with
Practice
Raku Drills
Questions at six levels, from A1 to C2: choose an answer, type the name of a routine, or fill the gap in a program. Come back after a lesson or an article and see what stayed.
- questions
- 150
- levels
- 6
Questions per level
Articles
Raku as a Foreign Language
Raku taught the way you learn a second language: short programs to read before you run them, false friends from the language you know, word families, and the same task written with an accent and without.
- articles
- 24
- kinds
- 4
Programs
Raku by example
Complete programs to read and run, from the Game of Life to a pocket calculator and a JSON parser. Each one is longer than a lesson and names the features it leans on.
- programs
- 24
Begin with
Recipes
The Raku Cookbook
Whole tasks worked end to end: a command-line tool, a grammar for a configuration file, HTTP, databases and parallel work. Each recipe grows one program step by step, and every output shown is what Raku++ printed.
- recipes
- 5
Begin with
Reference
Raku Behind the Docs
What Raku actually does, corner by corner: precedence, containers, Nil and Any, sink context. Each corner is one behaviour, shown by the smallest program that proves it.
- chapters
- 24
- corners
- 1,204
Six levels
The articles and the drills share the levels of a language course, from A1 to C2. Work at your level, and then one above it.
Learn Raku on your phone
The Learn Raku app carries the whole Complete Raku Course: 399 lessons, over a thousand examples, 217 quizzes, 396 exercises and the Final Test. Raku++ is inside, so the examples run on the phone itself, with no connection. For iPhone, iPad and Android.
The examples run
The lessons, the articles, the programs and Behind the Docs run their examples in your browser, on Raku++ compiled to WebAssembly. Nothing is sent to a server. The cookbook works with files, networks and databases, so its recipes show what Raku++ printed on a real machine. Change this program and press Run.
say (1..10).map(* ** 2).grep(* %% 2); say 'Learn Raku'.flip; say 1/3 + 1/6; say <Riga Leiden Turin>.sort(*.chars);
Elsewhere
A whole course, an empty editor, the engine behind every Run button, and more to read.