/rustico

🇵🇪 Rust programming, in Spanish.

Primary LanguageRustOtherNOASSERTION

rústico

Residente diciendo "Esto lo hago pa' divertirme"

Doing it for fun.

Aren't you cansado from writing Rust Programs in English? Do you like saying "chales" a lot? Would you like to try something different, in an exotic and funny-sounding language?

rústico (Spanish for Rust) is here to save your day, as it allows you to write Rust programs in Latam Spanish.

You are from Costa Rica and don't feel at ease using only Spanish Words? Don't Worry! Rústico is fully compatible English-Rust, you can mix both at your convenience.

instalación

cargo install rustico

uso

Here's an example of what can be achieved with Rustico.

rustico::rustico! {
    función principal() {
        sea mutable x: e32 = 31;

        machea x {
            42 => {
                chales!("Like panic")
            }
            _ => imprimeln!("Buenas!")
        }

        para numero de 0..10 {
          imprime!(numero)
        }

        chales!("f")
    }
}

Check examples/ for more.

documentación

For now you can see rustico/src/lib.rs for all the vocabulary.

contribuyendo

First of all, Piolísimo that you want to participate in this joke! To add words is just neccesary to modify rustico/src/lib.rs.

por qué?

  • If the French can do it, so can we

  • los hahas

gracias

Benjamin Bouvier for the original French implementation.

licencia

Licensed under the MIT License 📄