A Python-inspired mini language with a tree-walk interpreter. Write .mgs scripts, run them in your browser.
Install
pip:
pip install magmascript
Features
- Variables, functions, arrow functions
- Lists, dicts, list comprehensions, index assignment
- String interpolation (f-strings only)
- Classes with methods
- Control flow: if/else, for, while
- Slicing:
[1:3], [::-1]
- Error handling: try/haunter, throw fire toad
- Asthenosphere: memory tier with arena, floorplans, faults
Links
MIT ยท Copyright 2026 magmacrunch media