add zig (programming language)

This commit is contained in:
hexlocation 2024-09-28 10:17:52 +02:00
parent 7a9ddb910b
commit 929ae9001d
3 changed files with 47 additions and 9 deletions

View file

@ -0,0 +1,20 @@
## Hello World example
```
const std = @import("std");
pub fn main() void {
std.debug.print("Hello World!", .{});
}
```
## Define array
```
.{69, 420}
```
## Importing a module
```
const [variable name of choosing] = @import("module name");
```