The Complete Course of the Raku Programming Language
From your very first line of code to grammars, concurrency, and web services — a hands-on course in five parts, with hundreds of quizzes and exercises to practise every step of the way.
Start learning → About this course
Free and open source · Written by Andrew Shitov · Supported by The Perl & Raku Foundation
The course, part by part
1 Raku essentials
Start here. Install the compiler, then learn variables and data types, control flow, and your first subroutines — the foundation for everything that follows.
Basic introduction to Raku and its compiler
2 Advanced Raku subjects
Go deeper: containers and contexts, the full range of built-in types and operators, richer subroutines, and packaging your code into modules with tests and documentation.
Containers
More about built-in types
3 Objects, I/O, and exceptions
Object-oriented programming with classes and roles, reading and writing input and output and talking to external programs, and handling errors with exceptions.
4 Regexes and grammars coming soon
Match text with regexes, then grow them into full grammars with action classes that turn structured input into data.
5 Functional, concurrent, reactive, and web programming coming soon
Put it together: functional, concurrent, and reactive programming, finishing with sockets, HTTP, and building web services.
6 Addendum: comprehensive exercises 🆕 coming soon
A capstone collection of tougher exercises that draw on the whole course. Each one needs more than a single idea, and many combine tools from different parts. All of them use only features introduced earlier — nothing new to learn, just plenty to practise.
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська