rost
Aren’t you müde from writing Rust programs in English? Do you like saying
“scheiße” a lot? Would you like to try something different, in an exotic and
funny-sounding language? Would you want to bring some German touch to your
programs?
rost (German for Rust) is here to save your day, as it allows you to
write Rust programs in German, using German keywords, German function names,
German idioms.
You don’t feel at ease using only German words? Don’t worry!
German Rust is fully compatible with English-Rust, so you can mix both at your
convenience.
Here’s an example of what can be achieved with Rost:
struct and impl (aka Konvention und Umsetzung)
rost::rost! {
benutze std::sammlungen::Wörterbuch als Wöbu;
eigenschaft SchlüsselWert {
fk schreibe(&selbst, schlsl: Zeichenkette, wert: Zeichenkette);
fk lese(&selbst, schlsl: Zeichenkette) -> Ergebnis;
}
statisch änd WÖRTERBUCH: Möglichkeit