aboutsummaryrefslogtreecommitdiffstats
path: root/docs/design
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 15:00:52 +0100
committereunhhu <[email protected]>2026-09-25 15:00:52 +0100
commitf35ded451b1da147613ece18e2b334d0966b24f1 (patch)
treec5d9284a5ca33768c07b983bcee177c228648ddc /docs/design
parentb9ddfdd4cde05b6a520650c7b50ace0af4c5c019 (diff)
downloadaup-f35ded451b1da147613ece18e2b334d0966b24f1.tar.gz
aup-f35ded451b1da147613ece18e2b334d0966b24f1.zip
Emit Pure module format v5
Pure now loads only v5 modules, where a view entry's type is one byte followed by the table it belongs to. Plain views encode as before, so the output changes only in its magic. The view limit follows Pure's to 64.
Diffstat (limited to 'docs/design')
-rw-r--r--docs/design/001-language-v0.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/design/001-language-v0.md b/docs/design/001-language-v0.md
index e9d5b2d..0b7b8dc 100644
--- a/docs/design/001-language-v0.md
+++ b/docs/design/001-language-v0.md
@@ -63,7 +63,7 @@ on frame { # 1/60초 진행. 핸들러 안에서 dt를 쓸
- 비교와 논리 연산은 0 또는 1을 낸다. `&& ||`는 양쪽을 모두 계산한다. 0이 아니면 참이다.
- `if`의 조건은 한 번 계산한다. 문장은 순서대로 실행한다.
- `frame`의 `dt`는 1/60이고 키 이벤트의 `dt`는 0이다.
-- 한도: 상태 32, 입력 32, 보기 24, 핸들러 64, 명령 512, 스택 64, 소스 32 KiB.
+- 한도: 상태 32, 입력 32, 보기 64, 핸들러 64, 명령 512, 스택 64, 소스 32 KiB.
- 모듈을 교체하면 같은 이름의 상태 값은 유지하고, 새 상태는 초기값을 쓰고, 없어진 상태는 버린다.
교체에 실패하면 이전 모듈과 상태가 그대로다.