Malluscript v2.0.0 - The Module Update
Published on April 6, 2026 by Sreyas

 
# Malluscript v2.0.0 - The Module Update

This major release introduces a robust module system and refines the language structure to more closely align with Malayalam grammar patterns.

## What's Changed
*   **New Module System**: Organize your code better with the new `ulppeduthuka` (include) keyword.
*   **Module Aliasing**: Use `ennu` or `ayi` to give your imports a custom name (e.g., `math m ennu ulppeduthuka;`).
*   **Malayalam Grammar Order for I/O and Return**: To maintain linguistic consistency, `ezhuthuka`, `kanikuga`, and `kodukuga` now follow Malayalam sentence structure, where the action traditionally follows the object.

---

### Module System Details
You can now import other Malluscript files as modules. The path can be directed using `:` for subdirectories.

**Example:**
```ms
math m ennu ulppeduthuka;
res = m.math_add<3, 4>;
res ezhuthuka;
```

### Malayalam Grammar Order
In line with Malayalam's Subject-Object-Verb (SOV) structure, I/O and return operations now place the action at the end of the statement. This makes the code read more like natural Malayalam sentences.

**Previous Structure (v1.1.0 and before):**
In previous versions, writing or returning a value followed a prefix pattern:
```ms
കാണിക്കുക "ഹലോ";

കൂട്ടുക(സംഖ്യ1, സംഖ്യ2) {
    കൊടുക്കുക സംഖ്യ1 + സംഖ്യ2;
}
```

**v2.0.0 (Malayalam Grammar Order):**
Now, the object to be written or returned precedes the action:
```ms
"ഹലോ" കാണിക്കുക;

കൂട്ടുക(സംഖ്യ1, സംഖ്യ2) {
    സംഖ്യ1 + സംഖ്യ2 കൊടുക്കുക;
}
```

---

## Support the Project

If you find Malluscript useful, please consider supporting the development through any of the following platforms:

*   **Patreon**: [Support on Patreon](https://patreon.com/sreyas_sreelal)
*   **Open Collective**: [Back us on Open Collective](https://opencollective.com/malluscript)
*   **Buy Me a Coffee**: [Buy me a coffee](https://ko-fi.com/sreyas)

*For more details and examples, visit the [Malluscript Repository](https://github.com/Sreyas-Sreelal/malluscript).*

## New Contributors
* @ByteJoseph made their first contribution in https://github.com/Sreyas-Sreelal/malluscript/pull/35