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.
cargo install rustico
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.
For now you can see rustico/src/lib.rs
for all the
vocabulary.
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
.
-
If the French can do it, so can we
-
los hahas
Benjamin Bouvier for the original French implementation.
Licensed under the MIT License 馃搫