summary refs log tree commit diff
path: root/src/main.zig
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-27 20:44:02 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-27 23:44:02 +0100
commit9aaaadd9b08a34fd76b3deaffcfca387e7e698c4 (patch)
tree2308107fbde7e0bea2454a19d44c8481b31df740 /src/main.zig
parentCodegen: Start working on actual AST codegen (diff)
downloadinterpreter-9aaaadd9b08a34fd76b3deaffcfca387e7e698c4.tar.gz
interpreter-9aaaadd9b08a34fd76b3deaffcfca387e7e698c4.tar.bz2
interpreter-9aaaadd9b08a34fd76b3deaffcfca387e7e698c4.zip
Codegen: Get the most basic ever example compiling
Diffstat (limited to '')
-rw-r--r--src/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index 526b7e4..115c1b8 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -23,9 +23,9 @@ pub fn main() !void {
 
     const source_evaluator = try evaluator.Evaluator.init(arena.allocator());
     const source_codegen = try codegen.CodeGen.init(arena.allocator());
-    defer source_codegen.deinit();
+    defer source_codegen.deinit() catch {};
 
-    source_codegen.generate_poc();
+    // source_codegen.generate_poc();
 
     if (std.mem.eql(u8, path, "-i")) {
         while (true) {