Implemented garbage collection

As a whole, this is still tentative.
This commit is contained in:
2026-05-08 16:28:12 +10:00
parent be84a8dfe2
commit 6c055a0435
15 changed files with 267 additions and 80 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
//calculate the nth fibonacci number, and print it
var counter: int = 0;
var counter: Int = 0;
var first: int = 1;
var second: int = 0;
var first: Int = 1;
var second: Int = 0;
while (counter < 100_000) {
var third: int = first + second;
var third: Int = first + second;
first = second;
second = third;