Skip to content
العربية

Learn Meem

Twenty-two lessons in three levels. Each lesson has a goal, an estimated time, prerequisites, a short explanation with working examples, an exercise with its solution folded away, and common mistakes linked to their IDs in the error catalog, then the next lesson. Every example and every solution was run with Meem 0.10.0 when the site was built, and the output under it is what it actually printed. The code and Meem’s keywords are Arabic, as they are in the language itself.

Tick «Done» on a lesson when you finish it to follow your progress.

Completed 0 of 22 lessons

Your progress is saved in your browser only, and is never sent anywhere.

Beginner

The basics of any program: printing, variables, input, conditions, loops, lists, dictionaries, functions and structs, and three rules for memory.

10 lessons, about 170 minutes · Completed 0 of 10

  1. 1Printing and strings10 min
  2. 2Variables and arithmetic15 min
  3. 3Input10 min
  4. 4Conditions15 min
  5. 5Loops20 min
  6. 6Lists20 min
  7. 7Dictionaries20 min
  8. 8Functions25 min
  9. 9Structs20 min
  10. 10Memory for beginners: three rules15 min

Intermediate

Strings, modules and files, enums, error handling, memory in long loops, tuples, generics and traits, and the collections library.

9 lessons, about 175 minutes · Completed 0 of 9

  1. 11More about strings20 min
  2. 12Modules15 min
  3. 13Files20 min
  4. 14Memory in long loops20 min
  5. 15Enums15 min
  6. 16Error handling25 min
  7. 17Tuples and multiple return values15 min
  8. 18Generics and traits25 min
  9. 19The collections library20 min

Systems

Allocators and arenas, «خطر» (unsafe) and calling C, and building a standalone executable.

3 lessons, about 75 minutes · Completed 0 of 3

  1. 20Allocators and arenas30 min
  2. 21«خطر» (unsafe) and calling C25 min
  3. 22Building a standalone executable20 min

Small complete projects

Real programs measured on Meem 0.9.1 that run with 0.17.1, each explained step by step, with what was hard in them and what we learned.

  1. P1Most frequent words
  2. P2Summarising a CSV file
  3. P3Dijkstra and a search tree
  4. P4Tic-tac-toe
  5. P5Folder line counter

After the path: after the course, and what Meem can and cannot do.