From ff23145a5a44efdf9f4d791ceb32ba75f94eea3e Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 28 Sep 2026 10:40:48 +0200 Subject: [PATCH] 36 - Goal 1 holds that every call answers, Goal 8 says what correct means --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9134497..9f4c373 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ In priority order. 1. **Lossless first.** The round-trip holds for every document the lossless conversions take, node types this version does not know included; one that has no spelling is refused and says where, - never silently reduced. + never silently reduced. Every call answers: no input makes one hang or overflow the stack. Every goal below gives way to this one. 2. **ADF is the hub.** Every format and flavour converts to and from ADF, and no two others convert directly: markdown↔HTML composes through ADF. Adding a format or flavour costs one @@ -49,8 +49,9 @@ In priority order. the emitted formats are. 7. **Nothing in the way.** No runtime dependencies, no I/O, no configuration, no host API: ESM on any ES2022 engine, in a browser as readily as on a server, installed from public npm. -8. **Correct before fast.** A whole document in, a whole result out, one call; no input makes a - call hang or overflow the stack. +8. **Correct before fast.** Each format is read and written as its own specification defines it — + markdown as CommonMark's spec suite reads it, well-formed HTML as the HTML standard parses it — + and a call takes a whole document and returns a whole result. 9. **Fast once correct.** Conversion time grows linearly with the document wherever the goals above allow it; a faster path that risks one of them is not taken.