From 4241593b42bffac2f8fcb63f1e88621fe025e360 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 4 Sep 2023 16:58:15 +0200 Subject: codegen: add interpreter tests Also simplify project structure. The executable is now produced in the root directory. Work in progress. --- samples/p05 | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 samples/p05 (limited to 'samples/p05') diff --git a/samples/p05 b/samples/p05 deleted file mode 100644 index 51c2c9b..0000000 --- a/samples/p05 +++ /dev/null @@ -1,10 +0,0 @@ -func f(i int) int { - if i < 2 { - if i == 1 { - return - } } - println("i", i) -} - -f(1) -println("bye") -- cgit v1.2.3