Learn Raku

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++.

Take the tourRaku as a Foreign Language

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
Take the tour

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

  1. 25A1
  2. 26A2
  3. 25B1
  4. 27B2
  5. 24C1
  6. 23C2
Start the drills

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.

Download on the App StoreGet it on Google Play

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.