Aren't you müed from writing Rust programs in English? Do you like saying "huere schafsäckel" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some Schwizerdütsch touch to your programs?
roscht (Schwizerdütsch/dütsch for Rust) is here to save your day, as it allows you to write Rust programs in Swissgerman, using Swissgerman keywords, Swissgerman function names, Swissgerman idioms.
This has been designed to be used as the official programming language for every bünzli
If you want to pay someone for this, pay the french guy. I only adapted his work. He does some nice shit. Worth a look. If you still want to support me just star this repo that will make me happy.
His Repo
His liberapay.
roeschti::roeschti! {
bruch std::collections::Dictionär als Dico;
eigeschaft schlüsselwärt {
funktion schrib(&selber, schlüssel: Zeichecheti, wärt: Zeichecheti);
funktion lis(&selber, schlüssel: Zeichecheti) -> Vilicht<&Zeichecheti>;
}
statisch veränderbar DICTIONÄR: <Dico<Zeichecheti, Zeichecheti>> = Nüt;
struktur Konkret;
implementiere schlüsselwärt für Konkret {
funktion schrib(&selber, schlüssel: Zeichecheti, wärt: Zeichecheti) {
lahn dico = unsicher {
DICTIONÄR.hole_oder_ifüege_mit(Standart::standart)
};
dico.infüege(schlüssel, wärt);
}
funktion lis(&selber, schlüssel: Zeichecheti) -> Resultat<Vilicht<&Zeichecheti>, Zeichecheti> {
falls lahn Espaar(dico) = unsicher { DICTIONÄR.as_referenz() } {
Oke(dico.lis(&schlüssel))
} susch {
Fähl("Usem dico usehole".in())
}
}
}
}
First of all, merci for considering participating to this joke, the
Swiss government and Rodger Federer will thank you later! Feel free to throw in a few identifiers
here and there, and open a pull-request against the hauptast
(Swissgerman for
mainbranch
).
Please don't introduce swear words.
- why are you looking at this? Same reason
- Reason 1
- French rouille
- 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
Öffentlichi Lizenz, wenn da druf drucks chaschs au nomal uf französisch lese,