Skip to content

Latest commit

 

History

History
115 lines (60 loc) · 2.07 KB

outline.pod

File metadata and controls

115 lines (60 loc) · 2.07 KB

NAME

Outline - what to explain in which chapter

DESCRIPTION

we need some kind of plan where we want to put what. Here's a very rough plan, feel free to adapt and improve.

STRUCTURE

Chapter 1 - Introduction

In this book we aim to teach you everything that's necessary for you to write programs with Perl6

Chapter 1.1 - Lexical conventions

Chapter 1.2 - Literals

Chapter 1.3 - Variables

Chapter 1.4 - Scalars

Chapter 1.5 - Arrays

Chapter 1.6 - Hashes

Chapter 1.7 - Basic operators

Chapter 1.8 - Methods and function calls

Chapter 1.9 - Control flow

(Add more basics here if you need them in later chapters).

(How can we make that chapter non-boring? keeping it short?)

TODO: more about arrays, hashes, built-in functions and methods, operators, list quoting

Chapter 2 - Operators

Chapter 2.1 - Meta operators

Done: Operators

TODO: list some common operators. Meta-operators

Chapter 3.0 - Subs and signatures

Chapter 4.0 - Multis

Chapter 4.1 - Typed based multi dispatch

Chapter 4.2 - Narrowness

Chapter 4.3 - Constraints

Chapter 4.4 - Multiple arguments

Chapter 5 - Objects and classes

Chapter 5.1 - Classes

Chapter 5.2 - Attributes

Chapter 5.3 - Methods

Chapter 5.4 - Construction

TODO:

inheritance, BUILD submethods

Chapter 6 - Regexes

Chapter 6.1 - Literals

Chapter 6.2 - Quantifiers

Chapter 6.3 - Captures

Chapter 6.4 - Anchors

Chapter 6.5 - Look-arounds

Chapter 6.6 - Backtracking control

Chapter 6.7 - Match objects

TODO:

??

Chapter 7 - Grammars

Chapter 7.1 - Subrules

Chapter 7.2 - Recursion

Chapter 7.3 - Inheritance

Chapter 7.4 - Reduction methods

TODO: detailed explanation of the JSON reduction methods

Chapter 8 - Roles

Conjectural: chapter ideas

Other suggestions:

database interface
web programming
extending the language (traits, meta-programming)