nandi/rustnimpublic Fork 0
0e6c394efb2da64065352ff67a15f6cba4e8899a
Commits
Clone
git clone https://git.rickub.com/nandi/rustnim.git
git clone ssh://git@rickub.com/nandi/rustnim.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

02-if-block.rs · 7 lines · 86 BRust Blame HistoryRaw
Scaffold rustnim: Rust->Nim transpiler, type mapping 1a218c2 nandi 11h ago1fn f(a: i32) -> i32 {
2 let mut s = a;
3 if s < 0 {
4 s = -s;
5 }
6 s
7}