Update plans

This commit is contained in:
Nikita Lisitsa 2025-12-23 13:45:39 +03:00
parent dea5c18cfd
commit 9fb3db2247

View file

@ -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