The Plumlang Language Specification
Language reference
The exact rules of the language: the specification, one section per page.
Version 0.1 (draft). This document says what Plumlang programs mean. The implementation follows it; a change to the language changes this document, the tests and the implementation in the same pull request (PREAMBLE 2.5).
Sections marked (Stage N) describe behaviour that lands with that stage of the roadmap; until then the compiler reports them as not yet supported.
Sections
- 1. Design principles
- 2. Source text
- 3. Types
- 4. Variables and expressions
- 5. Statements
- 6. Functions
- 7. Built-in functions
- 8. Trees: classes and objects (Stage 5)
- 9. Modules (Stage 5)
- 10. Errors (Stage 5)
- 11. Values and memory
- 12. Tasks and concurrency (Stage 5)
- 13. The standard library
- 14. Running programs
- 15. Changes from the Python prototype
- 16. Open questions