https://github.com/bnjbvr/rouille Skip to content Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} bnjbvr / rouille Public * Notifications * Star 322 * Fork 13 Rust programming, in French. 322 stars 13 forks Star Notifications * Code * Issues 2 * Pull requests 2 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights principale Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code * Clone HTTPS GitHub CLI [https://github.com/b] Use Git or checkout with SVN using the web URL. [gh repo clone bnjbvr] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @lorlouis lorlouis Fixed a CA-FR Typo (#8) ... a9687f5 Sep 11, 2021 Fixed a CA-FR Typo (#8) Fixed "tabernacle" (the item) being used as a swearword instead of the proper spelling. a9687f5 Git stats * 11 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows Integration continue. (#1) Sep 9, 2021 examples casseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Sep 11, 2021 rouille_proc_macro toujours plus Sep 11, 2021 .gitignore Commit initial. Sep 9, 2021 Cargo.toml Commit initial. Sep 9, 2021 README.md Fixed a CA-FR Typo (#8) Sep 11, 2021 logo.jpeg Logo (#4) Sep 10, 2021 View code [ ] rouille struct and impl (aka convention et realisation) Support for regional languages Other examples les contributions but why would you do zat un grand merci la license README.md rouille [logo] 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 government: I will be awaiting your donations on liberapay. You're from Quebec 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: struct and impl (aka convention et realisation) rouille::rouille! { utilisons std::collections::Dictionnaire comme Dico; convention CleValeur { fonction ecrire(&soi, cle: Chaine, valeur: Chaine); fonction lire(&soi, cle: Chaine) -> PeutEtre<&Chaine>; } statique mutable DICTIONNAIRE: PeutEtre> = Rien; structure Concrete; realisation CleValeur pour Concrete { fonction ecrire(&soi, cle: Chaine, valeur: Chaine) { soit dico = dangereux { DICTIONNAIRE.prendre_ou_inserer_avec(Defaut::defaut) }; dico.inserer(cle, valeur); } fonction lire(&soi, cle: Chaine) -> Resultat, Chaine> { si soit Quelque(dico) = dangereux { DICTIONNAIRE.en_ref() } { Bien(dico.lire(&cle)) } sinon { Arf("fetchez le dico".vers()) } } } } Support for regional languages #[legal(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 } Other examples See the examples to get a rough sense of the whole syntax. Voila, that's it. les contributions 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. but why would you do zat * horsin around * playing with raw proc macros * making a bit of fun about programming languages that do this seriously, though I can see their utility. * winking at Marcel * c'est chic un grand merci * @VentGrey for making a logo! la license WTFPL. About Rust programming, in French. Resources Readme Releases No releases published Packages 0 No packages published Contributors 4 * @bnjbvr bnjbvr Benjamin Bouvier * @ebrehault ebrehault Eric BREHAULT * @anisse anisse Anisse Astier * @lorlouis lorlouis Louis Sven Goulet Languages * Rust 100.0% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.