43 Commits

Author SHA1 Message Date
Michael Schimmel 8a29cf7f74 Json Schema for LLMs 2026-01-06 20:55:11 +01:00
Michael Schimmel 0a1df4e9fe Compiler exceptions 2025-11-25 15:51:04 +01:00
Michael Schimmel 4e508d90a5 Compiler exceptions 2025-11-25 15:27:57 +01:00
Michael Schimmel 29c36c7ae0 Tests for AST Binder 2025-11-25 13:29:05 +01:00
Michael Schimmel 58c44079f7 Refactor Compiler Pipeline: Decouple Scope Layout from Runtime Descriptor
- **Architecture:** Split `IScopeDescriptor` into `IScopeLayout` (Binder/Structure) and immutable `IScopeDescriptor` (Runtime/Types).
- **Binder:** Now produces `IScopeLayout` via `IScopeBuilder`. Restored Upvalue tracking and Lambda nesting detection.
- **TypeChecker:** Introduced `TTypeContext` to track types during traversal. Now produces the final `IScopeDescriptor`.
- **Evaluator:** Adapted to new `ILambdaExpressionNode` structure.
- **Fixes:** Resolved `Scope depth mismatch` in TypeChecker and `AccessViolation` in Evaluator due to lost parent scopes.
2025-11-21 12:01:14 +01:00
Michael Schimmel d0d1053faf Static specialization WIP
Fix in ScopeDescriptor 2
2025-11-19 16:01:14 +01:00
Michael Schimmel 3ae1ed8f48 Static specialization WIP
Fix in ScopeDescriptor
2025-11-19 15:47:09 +01:00
Michael Schimmel 138e7ac454 Static specialization WIP 2025-11-19 14:38:40 +01:00
Michael Schimmel c0f871ce02 Ast environments 2025-11-07 19:40:35 +01:00
Michael Schimmel 0915d6d90d Resolved dependency between AST nodes and scope 2025-11-05 16:52:40 +01:00
Michael Schimmel 218bd9f506 Refactoring 2025-11-05 13:48:10 +01:00
Michael Schimmel c0a689d2bc Refactoring for immutable nodes 2025-11-05 13:21:17 +01:00
Michael Schimmel 980919525b Immutable infered types 2025-11-04 22:10:11 +01:00
Michael Schimmel e379e6694c AST Types 2025-10-26 09:58:42 +01:00
Michael Schimmel 0d73a13051 Macro expander integrated in binder 2025-10-05 02:45:13 +02:00
Michael Schimmel 7c48e9e203 Macro expander integrated in binder 2025-10-04 19:05:50 +02:00
Michael Schimmel d47c1417f5 Comment in AST script 2025-10-03 11:53:02 +02:00
Michael Schimmel ecbe39abac Fixed closure upvalue scoping 2025-09-30 17:50:34 +02:00
Michael Schimmel 1fd7fb9da9 Fixed closure upvalue scoping 2025-09-30 17:41:21 +02:00
Michael Schimmel 1c1bd4cdca Fixed closure upvalue scoping 2025-09-30 17:25:28 +02:00
Michael Schimmel 4de6bf9bcd Refactoring 2025-09-30 11:08:45 +02:00
Michael Schimmel 18904f17d1 Fixed unit tests 2025-09-29 12:18:44 +02:00
Michael Schimmel 624af31243 Added user library 2025-09-24 10:03:10 +02:00
Michael Schimmel c573628fe5 Major refactoring, split Bound Ast from source Ast 2025-09-22 19:56:51 +02:00
Michael Schimmel 565742275c Momory hole fixed 2025-09-18 20:37:15 +02:00
Michael Schimmel d12c6c966c Fix in Upvalue-Logic 2025-09-18 20:11:12 +02:00
Michael Schimmel 2c55a120f1 RTL and Data value refactoring and defered values 2025-09-18 13:35:25 +02:00
Michael Schimmel ea5879520a Refactoring Binder 2025-09-17 13:34:48 +02:00
Michael Schimmel 3ad004a895 Extended data value type descriptions 2025-09-15 12:42:06 +02:00
Michael Schimmel e78ef0a3ea Optimizing captures in Scope 2025-09-15 12:12:23 +02:00
Michael Schimmel c913f9dbc5 Scope Index optimized 2025-09-15 10:39:39 +02:00
Michael Schimmel be6665ad6e AST Refactoring 2025-09-12 22:45:29 +02:00
Michael Schimmel 646ffe92bb TDataValue as new global variant type 2025-09-12 11:18:32 +02:00
Michael Schimmel 100646c7d8 Scope cells refactoring 2025-09-05 12:46:24 +02:00
Michael Schimmel aa3c218f44 Closure upvalues 2025-09-04 23:59:33 +02:00
Michael Schimmel 4a8075fecf Binding 2025-09-04 21:17:23 +02:00
Michael Schimmel bb74d408da Binding 2025-09-04 19:50:05 +02:00
Michael Schimmel faa447fd91 Binding 2025-09-04 17:33:10 +02:00
Michael Schimmel 9c90a92b04 Ast Binding 2025-09-04 01:41:09 +02:00
Michael Schimmel 375e64411b AST development 2025-09-01 19:24:22 +02:00
Michael Schimmel fa9328a183 AST refactoring 2025-08-29 09:44:17 +02:00
Michael Schimmel 9a5f2c1b1d AST refactoring 2025-08-28 16:26:48 +02:00
Michael Schimmel 9419f5cd03 AST refactoring 2025-08-28 15:14:08 +02:00