An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
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.
Step 1: Remove french words to be replaced with hindi words ->
(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.
Original Link: https://dev.to/rishitkhandelwal/write-rust-code-without-english-3id6
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To