From 93b4de9230d4b0ec24bf653d0d6492902d251f74 Mon Sep 17 00:00:00 2001 From: sofia Date: Sun, 20 Jul 2025 21:26:50 +0300 Subject: [PATCH] Add arithmetic example --- reid_src/arithmetic.reid | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 reid_src/arithmetic.reid diff --git a/reid_src/arithmetic.reid b/reid_src/arithmetic.reid new file mode 100644 index 0000000..cd1c87b --- /dev/null +++ b/reid_src/arithmetic.reid @@ -0,0 +1,9 @@ +// Arithmetic, function calls and imports! + + +fn main() -> u32 { + let value = 6; + let other = 15; + + return value * other + 7 * value; +}