From 26658fea927aa87e861c936b2d7aa4163d38bdb4 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 18 Oct 2026 19:30:16 +0100 Subject: Module format v7 (Pure 027's 4b-2): keyed documents gone from the language: no bytes by key, message by key, name[key] or .replace(first .. last, value), the opcodes DOC, DOC_SIZE and REPLACE (those after them moved up), the header 38 bytes; examples/editor.aup and bounded-editor.aup gone (examples/documents.aup does their work in a keyed list), and with them the parity with the earlier editor (documents_model checks the new one); diagnostics on documents rewritten for plain messages or gone (304); a module's records counted at their v7 place; a field changed by '=' said so where a call was written --- docs/design/002-dsl-direction.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/design/002-dsl-direction.md b/docs/design/002-dsl-direction.md index e3d1568..e96ead7 100644 --- a/docs/design/002-dsl-direction.md +++ b/docs/design/002-dsl-direction.md @@ -852,7 +852,8 @@ on tag { ### 바이트를 담는 필드와 키별 문서 (Pure 027의 4b) 레코드 필드가 바이트를 담는다(`body: bytes`, 기본값은 `= "…"`의 바이트). 키별 문서(`bytes by key`, `message by key`)가 하던 일을 -키 있는 리스트로 쓴다(`examples/documents.aup`). +키 있는 리스트로 쓴다(`examples/documents.aup`). 4b-2에서 키별 문서는 언어에서 빠졌다: `bytes by key`, `message by key`, `이름[key]`, +`.replace(..)`, 그리고 옛 편집기 예제 둘(`editor.aup`, `bounded-editor.aup`)과 그것을 옛 편집기와 대조하던 검사. ```text record Doc { -- cgit v1.2.3