ruchy 4.2.0

A systems scripting language that transpiles to idiomatic Rust with extreme quality engineering
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Example 3: Variables
// Demonstrates: Variable declarations, reassignment
// Usage: ruchy examples/cli/03_variables.ruchy

let name = "Ruchy"
let version = 3.99
let is_awesome = true

println(f"Language: {name}")
println(f"Version: {version}")
println(f"Is awesome: {is_awesome}")

// Reassignment
let count = 0
count = count + 1
count = count + 1
println(f"Count: {count}")