3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 11:48:29 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
lilleman ff59d737c4 Literal brackets put nothing inside a mark, so the nested-link check runs ahead of both guards 2026-09-19 02:21:38 +02:00
lilleman 508851b953 Review nits: the walk's start needs no clamp, and the invariant needs one copy 2026-09-19 02:15:15 +02:00
lilleman 29bb0a29f6 Pin what the doomed openers keep: the carry and the image literal brackets hold 2026-09-19 02:09:19 +02:00
lilleman 50200bcc18 Review nits: deactivate the openers a nested link dooms, and pin the refusal order 2026-09-19 02:02:01 +02:00
lilleman 0f79dac6ec 16 - no link wraps a link: the outer brackets go literal, the directive form is refused 2026-09-19 01:48:30 +02:00
lilleman 484e5253a5 Review nits: drop the spec's restated carry rule, the test's duplicate paths and todo.md's incident note 2026-09-18 23:14:37 +02:00
lilleman 220cf31db2 15 - refuse the directive link spelling no href, so the mark has one spelling 2026-09-18 23:08:34 +02:00
lilleman 2ae9dcfb24 AGENTS.md §11: a sort keys on the name a line introduces, so an import sorts on its first binding 2026-09-18 23:03:13 +02:00
lilleman afc0a42369 14 - the CommonMark subset moves under src/markdown/commonmark/ 2026-09-18 20:27:22 +02:00
lilleman da13687cf7 4c - the guard's spread was a class: the code block's held lines and a mark run's segments too 2026-09-18 20:03:56 +02:00
lilleman 1555b5cd31 4c - the directive scan keeps the spans it read, so the slot parse never scans them again 2026-09-18 20:03:56 +02:00
lilleman 4a8040db19 4c - the label trim, the segment tail, the break run and the guard's spread stop re-walking 2026-09-18 20:03:56 +02:00
lilleman 6df3b60a1f 4b - review nits: the list's headroom folds into its item loop, emitBlocks inlined, panel-wrapped boundary pinned, 4c note says cubic 2026-09-18 00:43:56 +02:00
lilleman 9c0daa18d5 4b - the walk reports its headroom, so a list falling back to the directive form refuses at zero and the list limit stays 500 2026-09-18 00:34:52 +02:00
lilleman bd14b25b20 4b - the block walk spells a list from one walk, a list and its item counting two levels in every spelling 2026-09-18 00:13:55 +02:00
lilleman ba266d26e9 13b - review nits: README code span, AGENTS.md §2 example, comments, block-directive link message 2026-09-16 23:28:31 +02:00
lilleman eea9e01d52 13b - link arm back in emitLink, one isBareLink, directiveMarkPiece, refusal names the spelling, spec subset section follows 2026-09-16 23:15:34 +02:00
lilleman b02dea1277 13b - link takes the directive form where CommonMark cannot spell it, unspellable-link leaves the code list 2026-09-16 23:09:30 +02:00
lilleman d44aa3c358 13a - rule's color, style and weight and layoutSection's columnRuleStyle join the tables 2026-09-16 22:34:12 +02:00
lilleman 91d03cdbcd 12c: a test pins the closer to its list item or blockquote edge, and 4c names the list-item walk's re-scan class 2026-09-16 20:23:00 +02:00
lilleman b26f7e6b87 12c: the block walk matches only list items and blockquotes per line and finds a closer's container by name, replacing the depth guard 2026-09-16 20:08:49 +02:00
lilleman 8706267be4 12c: the block walk opens no container past the depth the node walk refuses, and the closer messages name the escape 2026-09-16 19:40:30 +02:00
lilleman ab5127f821 12c: one block opener speller beside its reader, the line readers split along the union, and AGENTS.md records the leaf body 2026-09-16 19:21:06 +02:00
lilleman 0fd236c749 12c: a leaf given a body faults at its opener 2026-09-16 19:19:15 +02:00
lilleman 0eb2665ffe 12c: the block directive forms read and spell !adf: openers and closers 2026-09-16 15:46:52 +02:00
lilleman 1e63dd45b4 12b: the content slot refuses a carried text node's content too, and the reserved-name message names the live fence 2026-09-16 10:26:12 +02:00
lilleman d2b252ae07 12b: the inline opener speller takes its reader's name, and todo.md records 12c's collapses 2026-09-16 10:03:49 +02:00
lilleman e7d3697dc4 12b: the inline directive forms read and spell the !adf: prefix 2026-09-16 09:52:52 +02:00
lilleman 5d09ad3d0e 4.3: a bare backtick run escapes wherever a later string of its length forms around an escape 2026-09-15 22:28:51 +02:00
lilleman 9c6d29c33b 4.3: the ADF generator draws backtick runs beside code spans, and the directive floor's message names what it counts 2026-09-15 22:22:46 +02:00
lilleman f63be57c31 4.3: the directive floor counts directive-only and carried types in the parsed document, and run parameters name the gate 2026-09-15 21:48:06 +02:00
lilleman 765820f8f7 4.3: under the gate seed the markdown property asserts floors on fixpoint and directive-shaped runs 2026-09-15 21:36:55 +02:00
lilleman 2f251b84ed 4.3: the shared property module is property-harness.ts, and the canonical arm filters emit refusals 2026-09-15 21:31:41 +02:00
lilleman 3da3160c9f 4.3: the markdown generator splits into inline, leaf-block and block builders 2026-09-15 21:28:32 +02:00
lilleman c5168ee985 4.3: a link opening a paragraph that reads as a link reference definition rides the carry 2026-09-15 21:22:34 +02:00
lilleman 4d032644f6 4.3: an escaped backtick run escapes whole, and a lone backtick before one escapes too 2026-09-15 21:05:16 +02:00
lilleman fca1b68b74 4.3: a paragraph line reading as a link reference definition escapes its opening bracket 2026-09-15 21:05:16 +02:00
lilleman c8ce81adf4 4.3: the markdown property 2026-09-15 21:05:16 +02:00
lilleman b288843da1 4.4: the real payloads 2026-09-15 19:18:49 +02:00
lilleman b3a69da952 4.2: the review's runner and weight nits 2026-09-14 23:43:49 +02:00
lilleman c7e392654d 4.2: the review's generator, runner and pattern fixes 2026-09-14 23:25:13 +02:00
lilleman 04dc38c5d6 4.2: a link target's would-be directive escapes inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman 9c63148e2a 4.2: generated keys avoid V8's JSON.parse key fault 2026-09-14 23:25:13 +02:00
lilleman 4c8b6c9bd8 4.2: an autolink holding a backtick gives way inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman f5b6903972 4.2: the ADF property 2026-09-14 23:25:13 +02:00
lilleman 41b595b3bb 4.2: a link target's backtick escapes where it would open a code span inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman 02bb6ff5d2 4.2: a list whose item holds a whitespace-only line takes the directive form 2026-09-14 23:25:13 +02:00
lilleman 28e881e3fb 4.2: a link's brackets balance inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman f8247ebb75 4.2: an empty link destination beside a title spells <> 2026-09-14 23:25:13 +02:00
lilleman fd7b33890a 4.1: an iterative canonical serializer 2026-09-14 20:11:25 +02:00