DEV Community

CharmPic
CharmPic

Posted on • Edited on

Introducing Nyash: A MIR-First Programming Language (with WebAssembly as a backend)

Just launched Nyash, a revolutionary programming language designed for the modern web!

## Key Features

  • Everything is Box Philosophy: Unified, memory-safe object model
  • Zero Installation: Runs directly in browsers via WebAssembly
  • Creative Coding: Built-in Canvas API for games and art
  • Memory Safety: Eliminates crashes and memory leaks

🎮 Try it now: https://moe-charm.github.io/nyash/
📂 GitHub: https://github.com/moe-charm/nyash

Built with Rust + WebAssembly, powered by AI collaboration.

#ProgrammingLanguage #WebAssembly #Rust #BrowserFirst

Top comments (5)

Collapse
 
pjdeveloper896 profile image
Prasoon Jadon • Edited

Hi, I really like your work on Nyash! I wanted to point out that the concepts behind browser-native meta-languages were formalized in my BNL framework (doi.org/10.5281/zenodo.17952448), developed several months before Nyash. It would be great if you could reference the original framework in your project — it could help others understand the theory behind your implementation.

Collapse
 
charmpic profile image
CharmPic

Thank you for your interest!
Just to clarify, Nyash is not primarily aimed at being a browser-native language; it is a MIR-based system, and
WebAssembly is simply one of its output targets.
I’ll also take a look at the materials you shared as related information.

Collapse
 
pjdeveloper896 profile image
Prasoon Jadon

Thanks for the clarification — that makes sense. I understand Nyash is MIR-first, with WebAssembly being one of its output targets rather than its primary aim.

The paper I shared wasn’t intended to frame Nyash as browser-native, but to highlight some conceptual overlap in treating MIR as a first-class design layer rather than merely an internal compilation step. I’m interested in how different MIR-centric approaches converge or diverge in practice.

Looking forward to reading more about Nyash’s design.

Collapse
 
suvrajeet profile image
Suvrajeet Banerjee

Great work! 🏆

Collapse
 
charmpic profile image
CharmPic

Thank you for reading, I hope you enjoy it

Still under development!