Skip to content

mathiversen/rust-sv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rostig

img

Aren't you trött from writing Rust programs in English? Do you like saying "vafan" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some Swedish touch to your programs?

järnoxid (Swedish for Rust) is here to save your day, as it allows you to write Rust programs in Swedish, using Swedish keywords, Swedish function names, Swedish idioms.

This has been designed to be used as the official programming language to develop the future Swedish sovereign operating system.

You're from Denmark and don't feel at ease using only Swedish words? Don't worry! Swedish Rust is fully compatible with English-Rust, so you can mix both at your convenience.

Support for regional languages

#[légal(code_inaccessible)]
funk secondaire() {
    merde!("oh non"); // for the true Swedish 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. Voilà, that's it.

les contributions

First of all, merci beaucoup for considering participating to this joke, the Swedish government will thank you later! Feel free to throw in a few identifiers here and there, and open a pull-request against the principale (Swedish for main) branch.

Please don't introduce swear words, though: we will not excuse your Swedish.

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

Other languages

un grand merci

la license

License Publique Rien à Branler, le official translation of the WTFPL by the same author.

About

Rust programming, in Swedish.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%