Andrew Shitov’s Raku Books

A growing shelf of hands-on books on the Raku programming language, turned into one browsable site — with code examples running right in your browser.

Start reading → The Raku Course

Books by Andrew Shitov · Code runs on Raku.js

The Raku Course cover

The Complete Course of the Raku Programming Language

The complete, hands-on course of the Raku programming language — five parts of theory and practice with hundreds of quizzes and exercises, hosted online at course.raku.org.

Using Raku coverUsing Raku cover

Using Raku: 100 Programming Challenges Solved with the Brand-New Raku Programming Language

100 programming challenges solved in Raku — string handling, numbers, aggregate data, regexes and grammars, dates, and parallel computing — each with a runnable solution.

Introduction
Strings
Numbers
Aggregate Data Types
Regexes and Grammars
Date and Time
Parallel Computing
Miscellaneous
Creating a Compiler in Raku cover

Creating a Compiler in Raku

A step-by-step coding essay that builds a working compiler in Raku — from a tiny translator through grammars, actions, and an abstract syntax tree to a full calculator and interpreter.

Creating a Simple Translator
Parsing a Number
Creating a Calculator
A Better Translator
Working on Grammar
Dealing with Strings
Arrays and Hashes
Building AST
Evaluating AST
Test suite
Control Flow
Functions
Optimising the AST
Afterword
Perl 6 Calendar 2019 cover

Perl 6 Calendar 2019

A wall calendar with a bite-sized Raku code puzzle for every month of 2019 — twelve neat one-screen programs, one per page.

Perl 6 at a Glance cover

Perl 6 at a Glance

A quick dive into Perl 6 (now Raku): the essentials, operators, subroutines and types, object orientation, regexes and grammars, and a practical appendix — the initial knowledge to start working with the language.

Foreword
Perl 6 Essentials
Operators
Code Organization
Classes
New Concepts
Regexes and Grammars
Appendix
Conclusion