Zangar (Persian for Rust) allows you to write Rust programs in Persian, using Persian keywords and function names.
It is adapted from Rouille, the original French implementation of Rust.
zangar::zangar! {
خارجی جعبه زنگار ;
تابع اصلی () {
باشد x = 31 ;
تطبیق x {
42 => {
چاپ!("چهل و دو")
}
_ => چاپ!("راست به زبان فارسی")
}
}
}
zangar::zangar! {
khareji jabe zangar;
tb asli() {
bashad x = 31;
tatbigh x {
42 => {
chap!("چهل و دو")
}
_ => chap!("راست به زبان فارسی")
}
}
}
See the keywords and the examples to get a rough sense of the whole syntax.
- Dutch: roest
- German: rost
- Polish: rdza
- Italian: ruggine
- Russian: Ржавый
- Esperanto: rustteksto
- Hindi: zung
- Hungarian: rozsda
- Chinese: xiu (锈)
- Spanish: rustico
- Korean: Nok (녹)
- Finnish: ruoste
- Arabic: sada
- Turkish: pas
- Vietnamese: gỉ
- Japanese: sabi (錆)
- Danish: rust?
- Marathi: gan̄ja
- Romanian: rugină
- Czech: rez
- Ukrainian: irzha
- Bulgarian: ryzhda
- Slovak: hrdza
- Catalan: rovell
- Corsican: rughjina
- Indonesian: karat
- Lithuanian: rūdys
- Greek: skouriasmeno
- Thai: sanim (สนิม)
- Swiss: roeschti
- Swedish: rost
- Croatian: hrđa
- Persian : zangar (زنگار)
- All of the above: unirust