Outline - what to explain in which chapter
we need some kind of plan where we want to put what. Here's a very rough plan, feel free to adapt and improve.
Lexical conventions, literals, variables, scalars, arrays, hashes, basic operators, method and function calls, 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
Done: Operators
TODO: list some common operators. Meta-operators
Typed based multi dispatch, narrowness, constraints, multiple arguments
classes, attributes, methods, construction
TODO:
inheritance, BUILD submethods
Literals, quantifiers, captures, anchors, look-arounds, backtracking control, match objects
TODO:
??
Subrules, recursion, inheritance, reduction methods
TODO: detailed explanation of the JSON reduction methods
Other suggestions:
database interface
web programming
extending the language (traits, meta-programming)