Alore Language Reference
Release 0.7.0
Introduction
This document describes the syntax and the semantics of the Alore programming language. You will also need the Alore Library Reference as a companion, and in particular the definition of the std module, since this document frequently refers to standard library types.
If you are just learning the basics of Alore, you are advised to start with Introduction to Alore.
Note: This document currently only covers the dynamically-typed subset of Alore. See Introduction to Alore Type System for a description of using static typing in Alore programs.
Contents
- Notation
- Lexical structure
- Data model
- Execution
- Program structure
- Top-level definitions and statements
- Scope of definitions
- Statements
-
Expressions
- Operator precedence
- Lvalues and rvalues
- Expressions in boolean context
- Order of evaluation
- Simple expressions
- Referencing global definitions
- Binary operations
- Boolean operations
- Unary operations
- Subscripting
- Call expressions
- Array constructors
- Tuple constructors
- Member references
- Superclass member references
- Anonymous functions
- Cast expressions
- Grammar
- Definitions