Reference documentation
The complete reference for the Meem language. Its only source is the reference handbook in the compiler repository (docs/handbook/, commit 434e13f). To learn from scratch, start with Learn Meem.
The handbook is written in Arabic. The pages generated from it are shown in Arabic on this English site, with a notice, until they are translated; the pages written for the site itself (understanding Meem, coming from another language, the quick references) are in English.
Sections
Section titled “Sections”| Section | What it holds |
|---|---|
| Understand Meem | What Meem can and cannot do, memory, errors, «خطر», and the comparison with C and Zig: short pages with examples that were run |
| Coming from another language | What corresponds to the concepts of C, Python and Zig in Meem |
| Quick references | The reference index (keywords, types, builtins and modules), the cheat sheet, and allocation and performance |
| The language | Lexicon, types, expressions, statements, functions, structs, modules, the low-level layer, calling C, what a program can do, enums, error handling, generics and traits |
| Manual memory | Allocators and خاتمه: a simple introduction, then the reference |
| Standard library | The builtins and modules (including مجموعات, collections), with an example for each function |
| Errors | A catalog of every message, and the common errors with their causes and fixes |
| Tools | Command-line options, and the schema of the --check --json output |
| Migration | The changelog, and migration release by release, from 0.16 to 0.17 back to 0.9 to 0.10, from 0.7 to 0.8, from 0.6 to 0.7, and to error handling: what changed and what may break |
| Glossary | Each Arabic term, its English equivalent, and its meaning |
Releases
Section titled “Releases”The handbook describes release 0.17.3: sized numbers, the optional type, tuples, enums with a payload, generics and traits, the مجموعات (collections) library, line-by-line reading and writing, the confirmed leak E0472 as a compile error, and the new warning policy. Everything added is marked with its release («منذ 0.12.0», since 0.12.0, for example), and what is not implemented yet is marked «مخطط» (planned). The current download on this site is 0.17.3, and what changed after 0.10.0, release by release, is in the migration pages.
Pages from outside the handbook
Section titled “Pages from outside the handbook”- Building:
meem build, performance and the old changelog: from other documents in the compiler repository, describing 0.6. - Reference counting: a historical page describing 0.6 and earlier.