Introduction
Language Reference
- Term and Assignment
literals, variables, assignment
- Property or Method Use
parameters, new instances, indexing, operators, inheritance
- Method Definition
self, ..., var, return, program, Closure, Yielder, yield.
- Evaluations and Conditional Expressions
comparisons, pattern match, boolean
- Control Blocks and Clauses
do, if, match, while, break, continue
- Collections: this and each Blocks
'this' blocks, variable, and operators; iterators and 'each'
- Types: Objects, Classes and Mixins
property/method definition, computed properties, inheritance, super
- Resources and Programs
'@'
Syntax
- Tokens
Line indentation, comments, numbers, text & symbols, names, operators.
- Reserved Tokens & Precedence
- Extended BNF
- Syntax Railroad Diagrams