{"id":13566196,"url":"https://github.com/bnjbvr/rouille","last_synced_at":"2025-05-14T10:06:36.784Z","repository":{"id":37235805,"uuid":"404818550","full_name":"bnjbvr/rouille","owner":"bnjbvr","description":"Rust programming, in French.","archived":false,"fork":false,"pushed_at":"2025-05-07T14:54:30.000Z","size":304,"stargazers_count":1540,"open_issues_count":7,"forks_count":200,"subscribers_count":11,"default_branch":"principale","last_synced_at":"2025-05-07T15:50:40.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bnjbvr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-09T17:51:04.000Z","updated_at":"2025-05-07T14:54:35.000Z","dependencies_parsed_at":"2024-01-08T07:57:22.673Z","dependency_job_id":"a30ae265-39e9-4bd1-a744-3d9a6317bc21","html_url":"https://github.com/bnjbvr/rouille","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnjbvr%2Frouille","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnjbvr%2Frouille/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnjbvr%2Frouille/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnjbvr%2Frouille/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bnjbvr","download_url":"https://codeload.github.com/bnjbvr/rouille/tar.gz/refs/heads/principale","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254119473,"owners_count":22017951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:04.305Z","updated_at":"2025-05-14T10:06:36.768Z","avatar_url":"https://github.com/bnjbvr.png","language":"Rust","funding_links":["https://liberapay.com/bnjbvr/"],"categories":["Rust","others"],"sub_categories":[],"readme":"# rouille\n\n![](https://github.com/bnjbvr/rouille/raw/principale/logo.jpeg)\n\nAren't you _le tired_ from writing Rust programs in English? Do you like saying\n\"merde\" a lot? Would you like to try something different, in an exotic and\nfunny-sounding language? Would you want to bring some French touch to your\nprograms?\n\n**rouille** (French for _Rust_) is here to save your day, as it allows you to\nwrite Rust programs in French, using French keywords, French function names,\nFrench idioms.\n\nThis has been designed to be used as the official programming language to\ndevelop the future French sovereign operating system. \n\nIf you're from the French or any other governement with French as an official \nlanguage: I will be awaiting your donations on\n[liberapay](https://liberapay.com/bnjbvr/).\n\nYou're from Quebec (or elsewhere) and don't feel at ease using only French words? \n\nDon't worry!\nFrench Rust is fully compatible with English-Rust, so you can mix both at your\nconvenience.\n\nHere's an example of what can be achieved with Rouille:\n\n### trait and impl (aka convention et réalisation)\n\n```rust\nrouille::rouille! {\n    utilisons std::collections::Dictionnaire comme Dico;\n\n    convention CléValeur {\n        fonction écrire(\u0026soi, clé: Chaîne, valeur: Chaîne);\n        fonction lire(\u0026soi, clé: Chaîne) -\u003e PeutÊtre\u003c\u0026Chaîne\u003e;\n    }\n\n    statique mutable DICTIONNAIRE: PeutÊtre\u003cDico\u003cChaîne, Chaîne\u003e\u003e = Rien;\n\n    structure Concrète;\n\n    réalisation CléValeur pour Concrète {\n        fonction écrire(\u0026soi, clé: Chaîne, valeur: Chaîne) {\n            soit dico = dangereux {\n                DICTIONNAIRE.prendre_ou_insérer_avec(Défaut::défaut)\n            };\n            dico.insérer(clé, valeur);\n        }\n        fonction lire(\u0026soi, clé: Chaîne) -\u003e Résultat\u003cPeutÊtre\u003c\u0026Chaîne\u003e, Chaîne\u003e {\n            si soit Quelque(dico) = dangereux { DICTIONNAIRE.en_réf() } {\n                Bien(dico.lire(\u0026clé))\n            } sinon {\n                Arf(\"fetchez le dico\".vers())\n            }\n        }\n    }\n}\n```\n\n### Support for regional languages\n\n```rust\n#[légal(code_inaccessible)]\nfonction secondaire() {\n    merde!(\"oh non\"); // for the true French experience\n    calisse!(\"tabarnak\"); // for friends speaking fr-ca\n    oups!(\"fetchez la vache\"); // in SFW contexts\n}\n```\n\n### Other examples\n\nSee the [examples](./examples/src/main.rs) to get a rough sense of the whole\nsyntax. Voilà, that's it.\n\n## les contributions\n\nFirst of all, _merci beaucoup_ for considering participating to this joke, the\nFrench government will thank you later! Feel free to throw in a few identifiers\nhere and there, and open a pull-request against the `principale` (French for\n`main`) branch.\n\nPlease don't introduce swear words, though: we will not excuse your French.\n\n## but why would you do zat\n\n- horsin around\n- playing with raw proc macros\n- making a bit of fun about programming languages that do this seriously,\n  though I can see their utility.\n- winking at [Marcel](https://github.com/brouberol/marcel)\n- c'est chic\n\n## Other languages\n\n- Dutch: [roest](https://github.com/jeroenhd/roest)\n- German: [rost](https://github.com/michidk/rost)\n- Polish: [rdza](https://github.com/phaux/rdza)\n- Italian: [ruggine](https://github.com/DamianX/ruggine)\n- Russian: [Ржавый](https://github.com/Sanceilaks/rzhavchina)\n- Esperanto: [rustteksto](https://github.com/dscottboggs/rustteksto)\n- Toki Pona: [jaki kiwen](https://github.com/jgcodes2020/jaki-kiwen)\n- Hindi: [zung](https://github.com/rishit-khandelwal/zung)\n- Hungarian: [rozsda](https://github.com/jozsefsallai/rozsda)\n- Chinese: [xiu (锈)](https://github.com/lucifer1004/xiu)\n- Spanish: [rustico](https://github.com/UltiRequiem/rustico)\n- Korean: [Nok (녹)](https://github.com/Alfex4936/nok)\n- Finnish: [ruoste](https://github.com/vkoskiv/ruoste)\n- Arabic: [sada](https://github.com/LAYGATOR/sada)\n- Turkish: [pas](https://github.com/ekimb/pas)\n- Vietnamese: [gỉ](https://github.com/Huy-Ngo/gir)\n- Japanese: [sabi (錆)](https://github.com/yuk1ty/sabi)\n- Danish: [rust?](https://github.com/LunaTheFoxgirl/rust-dk)\n- Marathi: [gan̄ja](https://github.com/pranavgade20/ganja)\n- Romanian: [rugină](https://github.com/aionescu/rugina)\n- Czech: [rez](https://github.com/radekvit/rez)\n- Ukrainian: [irzha](https://github.com/brokeyourbike/irzha)\n- Bulgarian: [ryzhda](https://github.com/gavadinov/ryzhda)\n- Slovak: [hrdza](https://github.com/TheMessik/hrdza)\n- Catalan: [rovell](https://github.com/gborobio73/rovell)\n- Corsican: [rughjina](https://github.com/aldebaranzbradaradjan/rughjina)\n- Indonesian: [karat](https://github.com/annurdien/karat)\n- Lithuanian: [rūdys](https://github.com/TruncatedDinosour/rudys)\n- Greek: [skouriasmeno](https://github.com/devlocalhost/skouriasmeno)\n- Thai: [sanim (สนิม)](https://github.com/korewaChino/sanim)\n- Swiss: [roeschti](https://github.com/Georg-code/roeschti)\n- Swedish: [rost](https://github.com/vojd/rost/)\n- Croatian: [hrđa](https://github.com/njelich/hrdja)\n- Persian: [zangar (زنگار)](https://github.com/ui-ce/zangar)\n- Malagasy: [arafesina](https://github.com/luckasRanarison/arafesina)\n- Latin: [ferrugo](https://github.com/pianoman911/ferrugo)\n- Norwegian: [korrosjon](https://github.com/datagutt/korrosjon)\n- Estonian: [rooste](https://github.com/hanshs/rooste)\n- Kannada [tukku (ತುಕ್ಕು)](https://github.com/sanathNU/tukku.git)\n- All of the above: [unirust](https://github.com/charyan/unirust)\n\n## un grand merci\n\n- [@VentGrey](https://twitter.com/VentGrey) for making a logo!\n\n## la license\n\n[License Publique Rien à Branler](http://sam.zoy.org/lprab/),\n_le_ official translation of the [WTFPL](http://www.wtfpl.net/)\nby the same author.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnjbvr%2Frouille","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbnjbvr%2Frouille","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnjbvr%2Frouille/lists"}