From 8b2323108f484c259d863e68a23f9766e658c07d Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Tue, 22 Jul 2025 22:38:01 +0200 Subject: begin implementing procedure calls the register allocator does not consider the fact that called procedures probably clobber t-registers. also, the way i refer to the built in functions is cursed. it barely works now and won't when you can define procedures --- test.hgn | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 test.hgn (limited to 'test.hgn') diff --git a/test.hgn b/test.hgn deleted file mode 100644 index 2aec1a8..0000000 --- a/test.hgn +++ /dev/null @@ -1,15 +0,0 @@ -let x = 10 -let y = 0 -print(x > y) -while y < 3 { - x = x + x - y = y + 1 -} -if x { - # let x = read_int(0) - # print(18446744073709551615) - x = x + x -} else { - x = 69 -} -print(x) -- cgit v1.2.3