From 37d3a1e152707d2da587440c4cea8601b9ef0fd2 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 27 Sep 2026 13:14:38 +0100 Subject: Lay Pure out as a core with the parts selected around it The app model, the tree store and the HTTP host lived in prototypes/connections among the earlier document runtime, the store was known only by its format's name, and Vega compiled six Pure sources by path. Now, as the README's principle has it: core/ runtime, flow and the app model (module*.c), with what the core asks of storage (state.h, store.h) store/ the tree store (PURETRE3, PUREREC1) serve/ pure-serve: HTTP host, outbound delivery, JSON in place cli/ pure-run, pure-edit-module A top-level make builds libpure.a (app model and store, for hosts to link) and the hosts; make check runs the store's and the app model's tests. The earlier runtime still builds from prototypes/connections against core/ and store/ (check, check-tree and check-core pass). Design 009 records the rule: parts by role behind libraries; git repositories split by coupling, so the store stays here while its contract moves with the core, and Vega stays apart. --- docs/research/030-authenticated-document-peer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/research/030-authenticated-document-peer.md') diff --git a/docs/research/030-authenticated-document-peer.md b/docs/research/030-authenticated-document-peer.md index 1ff569d..6e1fa23 100644 --- a/docs/research/030-authenticated-document-peer.md +++ b/docs/research/030-authenticated-document-peer.md @@ -9,7 +9,7 @@ `pure-document-peer`는 TLS 1.3/TCP의 상호 인증, 인증서 SAN 이름 확인, `pure-doc/1` ALPN 뒤에 자체 이진 메시지를 사용한다. 이미 구현한 scalar 피어의 소켓·TLS 부분을 [`tls-link.c`](../../prototypes/common/tls-link.c)로 분리해 두 피어가 재사용한다. -코어의 [`runtime.c`](../../prototypes/connections/runtime.c), 저장소, `editor.pure`는 +코어의 [`runtime.c`](../../core/runtime.c), 저장소, `editor.pure`는 문서 CLI와 같다. 전송 코드는 선택 빌드의 호스트에만 있다. 서버가 보내는 40 B hello는 `PDOC`, 버전 1, 예약 3 B, **원본 .pure 소스** SHA-256이다. -- cgit v1.2.3