Raku Language Documentation
Tutorials, general reference, migration guides and meta pages for the Raku language.
Lists, sequences, and arrays | Positional data constructs |
Functions | Functions and functional programming in Raku |
Data structures | How Raku deals with data structures and what we can expect from them |
Packages | Organizing and referencing namespaced program elements |
Statement prefixes | Prefixes that alter the behavior of a statement or a set of them |
Sets, bags, and mixes | Unordered collections of unique and weighted objects in Raku |
Type system | Introduction to the type system of Raku |
Metaobject protocol (MOP) | Introspection and the Raku object system |
Unicode versus ASCII symbols | Unicode symbols and their ASCII equivalents |
Control flow | Statements used to control the flow of execution |
Variables | Variables in Raku |
Syntax | General rules of Raku syntax |
Raku native types | Using the types the compiler and hardware make available to you |
Phasers | Program execution phases and corresponding phaser blocks |
Exceptions | Using exceptions in Raku |
Unicode | Unicode support in Raku |
Performance | Measuring and improving runtime or compile-time performance |
Subscripts | Accessing data structure elements by index or key |
Contexts and contextualizers | What are contexts and how to switch into them |
Grammars | Parsing and interpreting text |
Date and time functions | Processing date and time in Raku |
Quoting constructs | Writing strings, word lists, and regexes in Raku |
System interaction | Working with the underlying operating system and running applications |
Enumeration | An example using the enum type |
Operators | Common Raku infixes, prefixes, postfixes, and more! |
Hashes and maps | Working with associative arrays/dictionaries/hashes |
Object orientation | Object orientation in Raku |
Containers | A low-level explanation of Raku containers |
Newline handling in Raku | How the different newline characters are handled, and how to change the behavior |
Input/Output the definitive guide | Correctly use Raku IO |
Native calling interface | Call into dynamic libraries that follow the C calling convention |
Numerics | Numeric types available in Raku |
Pragmas | Special modules that define certain aspects of the behavior of the code |
Traits | Compile-time specification of behavior made easy |
Regexes | Pattern matching against strings |
Community | Information about the people working on and using Raku |
Testing | Writing and running tests in Raku |
Pod6 | An easy-to-use markup language for documenting Raku modules and programs |
Glossary | Glossary of Raku terminology |
FAQ | Frequently asked questions about Raku |
About the docs | Metadocumentation |
Pod6 tables | The good, the bad and the ugly |
Terms | Raku terms |
Traps to avoid | Traps to avoid when getting started with Raku |
Opener graphemes | Valid opening paired delimiters |