Learn Rasmalai
A progressive path from an empty folder to working programs. Every example runs in the browser. For exact semantics, read the language manual.
Chapters
11 chapters, in reading order.
- Introduction What Rasmalai is, how to install the toolchain, and your first running program.
- Basics and Types Bindings, unified 64-bit numbers, strings, and operators.
- Control Flow Branches, loops, switch patterns, and defer.
- Functions and Closures Signatures, arrow lambdas, default arguments, and throwing functions.
- Data Structures Structs, classes, records, and enums.
- Collections Arrays, functional transforms, Map, and Set.
- Error Handling Absence with null and T?, Result, throws and try/catch, and the null-safe operators.
- Modules and Packages ESM imports, the seeded standard library, and the project manifest.
- Editor Setup Syntax highlighting and rnx lsp in VS Code, Zed, Helix, and Neovim, through rnx setup or by hand.
- AI Assistants & MCP Connect Claude, Codex, Cursor, Pi, omp, opencode, Hermes, Cline, and Goose to Rasmalai through rnx mcp.
- Troubleshooting & Reinstall Read a diagnostic, fix the common breakages, and reinstall cleanly on Linux, macOS, and Windows.
Coming from another language
Side-by-side translations of what you already know.
Guided tracks
Pick a pace: fifteen minutes, or zero to systems.
Know what you are looking for? Browse the standard library