DEV Community

Rishit Khandelwal
Rishit Khandelwal

Posted on

3 1

Write rust code without english

You reading the title, might be wondering HOW CAN YOU CODE WITHOUT ENGLISH???? you might think that i could have forked rust and changed the compiler to accept other keywords, but no.

Rust, being a very awesome language, has a nice handy feature called Procedural macros, with which we can parse code at compile time the way we want. And the other day I came across the Rouille, and then i wondered, "hmmm which language i know which i can use to make something like this?", and then i thought lets make a hindi version of this (because i didnt know any other language). But understanding proc_macros and all wasnt something i wanted to do just yet without having the fun of writing some code in hindi.

Fork

Step 1: Remove french words to be replaced with hindi words image -> image

(Yes i know that we are pretty light on the vocab, but making PRs wont hurt, please)

Step 2: Changing the readme.

THE HARDEST PART OF THIS WHOLE PROCESS.
Tho i managed to drag myself through it. And ended up with a semi-ripped off README :/

Step 3: Trying to get people to try this (this part failed miserably).

I sent my dev friends the repo to try out....
they ignored me.... 😥

Conclusion

If you find this cool go star Rouille and Zung and make PRs to add more words to the zung vocab.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (2)

Collapse
 
sahilpabale profile image
Sahil Pabale

oof im loving it :P

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

you never sent a pr 🤔🤔

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay