reid-llvm/easy.reid

9 lines
190 B
Plaintext

// Arithmetic, function calls and imports!
import std::print;
let arithmetic = 3 + 2 * 5 + 1 * 2;
let multiplier = 5 * 2;
let result = arithmetic * multiplier + arithmetic;
print(result);