Skip to content

gborobio73/rovell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rovell

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

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

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

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

Usage

Here's an example of what can be achieved with Rovell:

rovell::rovell! {
    funció principal() {
        deixa mutable x = 31;

        iguala x {
            42 => {
                collons!("mare de déu")
            }
            _ => escriulínia!("Com estàs!")
        }

        per i en 0..10 {
          escriulínia!(i)
        }

        merda!("f")
    }
}

Other examples

See the examples to get a rough sense of the whole syntax.

More detailed examples here.

Per què

  • If the French can do it, so can we
  • If the Spanish can do it, so can we

Moltes gràcies

Big thanks to Benjamin Bouvier for the original French implementation, Eliaz Bobadilla for the Spanish inspiration, and also Francesc for the Catalan review and wisdom.

La llicència

Licensed under the MIT License.

About

Rust programming, in Catalan.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%