Make the program print 3 + 5 = 8.
Zig's print uses {d} as a placeholder for numbers. Values go in .{ a, b }.
pub fn main() !void {
print("{d} + {d} = {d}\n", .{ 3, 5, 3 + 5 });
}
Not much of a language yet. But the cycle works: edit, save, zig build-exe minizig.zig && ./minizig. You'll do this hundreds of times. It takes about a second.