Commit Graph

18 Commits

Author SHA1 Message Date
Michael Schimmel 8a29cf7f74 Json Schema for LLMs 2026-01-06 20:55:11 +01:00
Michael Schimmel 2a7e6626ad Tuples 2026-01-04 18:59:16 +01:00
Michael Schimmel 185f8273dd Pipes and test scripts 2025-12-26 13:47:10 +01:00
Michael Schimmel ac96a105a5 Optional types and null propagation 2025-12-21 15:20:59 +01:00
Michael Schimmel e84ecfa2d2 RTL custom interface types as records, added callbacks (marshalled using virtual interfaces) 2025-12-12 02:28:25 +01:00
Michael Schimmel 521d0ac28f Ast editor rondtrip 2025-11-28 16:07:47 +01:00
Michael Schimmel 85ef043b04 Compiler errors 2025-11-25 18:11:04 +01:00
Michael Schimmel bcd20df29e Resolved cyclic dependencies between environment and compiler stages 2025-11-23 18:04:20 +01:00
Michael Schimmel d334ffdc73 Resolved cyclic dependencies between environment and compiler stages 2025-11-23 17:55:47 +01:00
Michael Schimmel 738e595f95 Resolved circular depependancy between macro expander and binder 2025-11-23 15:40:14 +01:00
Michael Schimmel a052dfb20f AST testing 2025-11-23 00:24:43 +01:00
Michael Schimmel 240f794211 AST function purity analysis 2025-11-22 14:49:24 +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 138e7ac454 Static specialization WIP 2025-11-19 14:38:40 +01:00
Michael Schimmel 7aa406f27b Macro hygiene 2025-11-09 18:22:09 +01:00
Michael Schimmel 93dc19497c Ast environment refactoring 2025-11-08 15:57:12 +01:00
Michael Schimmel c0f871ce02 Ast environments 2025-11-07 19:40:35 +01:00