From 9fb3db224758d452f896a1d306c6f74bc4090a8d Mon Sep 17 00:00:00 2001 From: lisyarus Date: Tue, 23 Dec 2025 13:45:39 +0300 Subject: [PATCH] Update plans --- plans.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plans.txt b/plans.txt index 9c86592..f1cf79d 100644 --- a/plans.txt +++ b/plans.txt @@ -1,6 +1,5 @@ Future plans: -* Default-constructing (no arguments, zero-initialization) primitive types & struct types -* Introduce type checking & inference as a separate pre-execution/compilation AST pass + add type information into expression nodes +* Clean up interpreter: don't repeat checks done in type checker, throw internal errors when appropriate * Pointers: pointer types, address-of operator (&), dereferencing, scope-based lifetime tracking in interpreter * Function overloading: separate functions from values (again) in interpreter, allow casting to specific function type to take function value * C FFI: `foreign func sin(x : f32) -> f32` @@ -14,6 +13,6 @@ Future plans: Backlog: * Mutually recursive functions -* Default-constructing primitive types +* Mutually recursive structs (relevant only with pointers) * Empty array expression * Calling functions as methods