Commit Graph

18 Commits

Author SHA1 Message Date
Michael Schimmel b3ca67428d Small refactorings 2026-01-13 23:51:41 +01:00
Michael Schimmel 991b998cb1 Tuples 2026-01-04 18:48:04 +01:00
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 1d13d0cdaa Ast ternary expr replaced by cond expr 2025-12-07 12:06:29 +01:00
Michael Schimmel 851f56c63f Ast list nodes 2025-11-29 18:59:16 +01:00
Michael Schimmel a052dfb20f AST testing 2025-11-23 00:24:43 +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 0526ec8a24 Keywords 2025-10-30 20:27:44 +01:00
Michael Schimmel 798aa08f02 Keywords 2025-10-30 18:00:58 +01:00
Michael Schimmel d9219474e0 1st full macro expander 2025-10-03 19:46:30 +02:00
Michael Schimmel c573628fe5 Major refactoring, split Bound Ast from source Ast 2025-09-22 19:56:51 +02:00
Michael Schimmel abbce15362 Tail call optimization 2025-09-19 11:53:16 +02:00
Michael Schimmel 469f2dc1f2 Moved operator helpers 2025-09-16 11:38:16 +02:00
Michael Schimmel c913f9dbc5 Scope Index optimized 2025-09-15 10:39:39 +02:00
Michael Schimmel d731048b41 AST Debugger 2025-09-13 20:40:18 +02:00
Michael Schimmel 0f9eb36ab8 AST Debugger 2025-09-13 14:22:02 +02:00