Commit Graph

17 Commits

Author SHA1 Message Date
Michael Schimmel 22674b962b Generic Visitors 2026-01-03 19:14:18 +01:00
Michael Schimmel 185f8273dd Pipes and test scripts 2025-12-26 13:47:10 +01:00
Michael Schimmel 851f56c63f Ast list nodes 2025-11-29 18:59:16 +01:00
Michael Schimmel 521d0ac28f Ast editor rondtrip 2025-11-28 16:07:47 +01:00
Michael Schimmel aff4cec7d5 AST Identities 2025-11-25 19:41:26 +01:00
Michael Schimmel 85ef043b04 Compiler errors 2025-11-25 18:11:04 +01:00
Michael Schimmel 0a1df4e9fe Compiler exceptions 2025-11-25 15:51:04 +01:00
Michael Schimmel d84509c034 Tests for Parser 2025-11-25 14:40:04 +01:00
Michael Schimmel d334ffdc73 Resolved cyclic dependencies between environment and compiler stages 2025-11-23 17:55:47 +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 61b6a1742b Fixed some glitches from last refactoring 2025-11-21 17:49:06 +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 138e7ac454 Static specialization WIP 2025-11-19 14:38:40 +01:00
Michael Schimmel d849f65f2d Handle Nop properly 2025-11-08 16:20:48 +01:00
Michael Schimmel c0f871ce02 Ast environments 2025-11-07 19:40:35 +01:00
Michael Schimmel 6851f745d4 Unit compiler namespaces 2025-11-05 21:50:36 +01:00