Rust 编程, 使用法语。
Aren't you le tired from writing Rust programs in English? Do you like saying "merde" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some French touch to your programs?
rouille (French for Rust) is here to save your day, as it allows you to write Rust programs in French, using French keywords, French function names, French idioms.
This has been designed to be used as the official programming language to develop the future French sovereign operating system.
If you're from the French or any other governement with French as an official language: I will be awaiting your donations on liberapay.
You're from Quebec (or elsewhere) and don't feel at ease using only French words?
Don't worry! French 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 Rouille:
…
#[légal(code_inaccessible)]
fonction secondaire() {
merde!("oh non"); // for the true French experience
calisse!("tabarnak"); // for friends speaking fr-ca
oups!("fetchez la vache"); // in SFW contexts
}
See the examples to get a rough sense of the whole syntax. Voilà, that's it.
First of all, merci beaucoup for considering participating to this joke, the
French government will thank you later! Feel free to throw in a few identifiers
here and there, and open a pull-request against the principale (French for
main) branch.
Please don't introduce swear words, though: we will not excuse your French.
License Publique Rien à Branler, le official translation of the WTFPL by the same author.
暂无开放 Issues,或尚未同步最近议题。