14 lines
233 B
Zig
14 lines
233 B
Zig
const nova64 = @import("nova64.zig");
|
|
|
|
pub fn main() void {
|
|
_ = add(1, 2);
|
|
while (true) {
|
|
nova64.log("Hello from Zig!");
|
|
// nova64.yield(1000);
|
|
}
|
|
}
|
|
|
|
export fn add(a: i32, b: i32) i32 {
|
|
return a + b;
|
|
}
|