Specification#
This is the draft of version 1 of the specification (Rule 2.20).
The specification defines the mtp language: its syntax, what a world model means, and how an open page behaves. It is written for the people and agents who build mtp or implement it again. Every rule is stated once, here, and everything else links to it.
The first drafts left questions open: Open questions groups them by principle.
- 1. Overview
- 2. Compiler and runtime
- 3. Lexical syntax
- 4. Grammar
- 5. Core and derived forms
- 6. Names and scope
- 7. Imports
- 8. Types
- 9. Binding time and access
- 10. Well-formedness
- 11. World model
- 12. Evaluation
- 13. State and reaction
- 14. Time and animation
- 15. Concurrency model
- 16. Lifecycle of a canvas
- 17. Page interface of views and controls
- 18. Accessibility
- 19. The .mtpc format
- 20. Errors
- 21. Standard library