Document implementation design

This commit is contained in:
2026-06-16 01:57:29 +09:00
parent 34855f3b7b
commit 2f21d4ec64
6 changed files with 563 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# 処理系設計
この章では、言語仕様を実装するための処理系モデルを定義する。
言語仕様そのものは [Language Specification](../language/index.md) に置き、この章では AST interpreter、遅延評価、thunk、runtime value、materialize の実装方針を扱う。
## 方針
初期処理系は AST interpreter として実装する。
bytecode VM や JIT ではなく、AST を demand-driven に評価することで、遅延評価、循環参照、`default``&``//` の意味論を小さく実装する。
## 構成
1. [Execution Pipeline](./execution-pipeline.md)
2. [Runtime Model](./runtime-model.md)
3. [Thunk and Lazy Evaluation](./thunk-and-lazy-evaluation.md)
4. [Composition and Materialization](./composition-and-materialization.md)
5. [Diagnostics and Fallback](./diagnostics-and-fallback.md)