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 calle…


This content originally appeared on DEV Community and was authored by Rishit Khandelwal

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.


This content originally appeared on DEV Community and was authored by Rishit Khandelwal


Print Share Comment Cite Upload Translate Updates
APA

Rishit Khandelwal | Sciencx (2021-09-27T14:35:09+00:00) Write rust code without english. Retrieved from https://www.scien.cx/2021/09/27/write-rust-code-without-english/

MLA
" » Write rust code without english." Rishit Khandelwal | Sciencx - Monday September 27, 2021, https://www.scien.cx/2021/09/27/write-rust-code-without-english/
HARVARD
Rishit Khandelwal | Sciencx Monday September 27, 2021 » Write rust code without english., viewed ,<https://www.scien.cx/2021/09/27/write-rust-code-without-english/>
VANCOUVER
Rishit Khandelwal | Sciencx - » Write rust code without english. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/27/write-rust-code-without-english/
CHICAGO
" » Write rust code without english." Rishit Khandelwal | Sciencx - Accessed . https://www.scien.cx/2021/09/27/write-rust-code-without-english/
IEEE
" » Write rust code without english." Rishit Khandelwal | Sciencx [Online]. Available: https://www.scien.cx/2021/09/27/write-rust-code-without-english/. [Accessed: ]
rf:citation
» Write rust code without english | Rishit Khandelwal | Sciencx | https://www.scien.cx/2021/09/27/write-rust-code-without-english/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.