reid-llvm/easy.reid

10 lines
204 B
Plaintext
Raw Normal View History

2023-07-27 16:40:12 +02:00
// Arithmetic, function calls and imports!
import std::print;
2023-07-27 20:47:50 +02:00
let test = 5;
2023-07-27 16:40:12 +02:00
let arithmetic = 3 + 2 * 5 + 1 * 2;
let multiplier = 5 * 2;
let result = arithmetic * multiplier + arithmetic;
print(result);