Language
Language reference after the Standard: a page for every construct
Quick links. Keywords, attributes, operators, grammar, rules of good code. The normative text follows by chapters.
In this chapter
| Introduction | This document is the standard of the Oxwald Link (OxL) language, edition 2027, version 1.0. |
| §1. Lexical structure | Lexical structure |
| §2. Program structure | Program structure |
| §3. Types | OxL is statically typed. |
| §4. Declarations | Declarations |
| §5. Expressions | Expressions |
| §6. Functions, effects, errors | Functions, effects, errors |
| §7. Memory and ownership | Memory and ownership |
| §8. Concurrency and asynchronous chains | Concurrency and asynchronous chains |
| §9. Serialisation | Serialisation |
| §10. Services, streams and pipelines | Services, streams and pipelines |
| §11. Transactions and sagas | Transactions and sagas |
| §12. Cluster | Cluster |
| §13. Security | Security |
| §14. Configuration | Configuration |
| §15. Reflection, comptime, attributes, observability | Reflection, comptime, attributes, observability |
| §16. FFI and interoperability | FFI and interoperability |
| §17. Time | Time |
| §18. Tests | Tests |
| Keywords | Every reserved and contextual word of the language |
| Attributes | Built-in attributes |
| Operators and separators | Operators and separators of §1.6; precedence and associativity |
| Rules of good code (part IV) | In this chapter IV.1 No "magic" values Timeouts, retries, sizes, limits, TTLs and thresholds are set once by a named constant or a config field and reused. |
| App. A | The grammar describes the syntax after lexical analysis (§1). |
| App. B | When the draft was turned into the standard, contradictions were found and eliminated. |
| App. D | The list of all items of the Standard in which the behaviour is defined by the implementation or a feature is optional (§0.1). |
| Considerations for future revisions | The items below are not part of the current edition and are not mandatory for implementations; this is material for discussion in the next revisions of the Standard. |
| Open questions | There are no open questions. |