]> Repositories - zlox.git/commitdiff
Initialize project
authorAyo Reis <hey@ayoreis.com>
Wed, 4 Feb 2026 02:11:50 +0000 (02:11 +0000)
committerAyo Reis <hey@ayoreis.com>
Wed, 4 Feb 2026 02:11:50 +0000 (02:11 +0000)
README.md [new file with mode: 0644]
main.zig [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..84b40e2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# Zlox
+
+An implementation of the [Lox language](https://craftinginterpreters.com/the-lox-language.html) in Zig.
diff --git a/main.zig b/main.zig
new file mode 100644 (file)
index 0000000..bab652c
--- /dev/null
+++ b/main.zig
@@ -0,0 +1,5 @@
+const std = @import("std");
+
+pub fn main() !void {
+    try std.fs.File.stdout().writeAll("Hello, Zlox!\n");
+}