3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
lilleman 025ccc0cf8 Answer architecture round 1: 2 🔴, 5 🟡; readableBlock alone fills and reads the spelling memo, the escaper's steps hand on what they claim rather than write a shared buffer, engine-limit names only the throws an engine returns, and the docs agree on it 2026-10-13 17:32:36 +02:00
lilleman e6fa3db1f5 Answer stability round 1: the escape flags flow through return values, and V8's failed typed-array allocation is refused as its memory running short 2026-10-13 12:02:31 +02:00
lilleman ddbb362703 Spell a line in memory linear in its length, so a paragraph up to V8's longest string converts within Node's default heap 2026-10-13 11:48:18 +02:00
lilleman 3741b9e5b3 Answer prose round 1: the comments say why, items 95, 96, 91 and 34 read in one pass, the floor's decision drops the rule CLAUDE.md holds, and item 97 files the changelog's order 2026-10-09 19:17:20 +02:00
lilleman af9b0d082c Answer architecture round 2: the escape walk owns its escapes and names every token kind, a directive read takes the claimed prefix, the reader computes one end, imports sort, and item 96 covers unclosed backtick runs 2026-10-09 19:17:20 +02:00
lilleman 652ae60179 Answer architecture round 1: a token's width is true for every kind that carries one, the escape walk threads one record, the == step and the directive precondition say why, and item 96 files the inline HTML scan 2026-10-09 19:17:20 +02:00
lilleman 59ead3e8e9 Escape a line against the inline reader's own tokens, in time linear in a run 2026-10-09 19:17:20 +02:00
lilleman 23ec45febd Give each markdown input its own reader: commonMarkToAdf, losslessMarkdownToAdf and portableMarkdownToAdf, each claiming only its flavour 2026-10-09 03:08:39 +02:00
lilleman 380a894589 Answer prose round 1: one name per thing in the new docs, the changelog points at MIGRATION's rows, item 82 drops its partial file list 2026-10-07 12:39:45 +02:00
lilleman 41ac4510f5 Answer architecture round 1: name a non-string by typeof alone, name and comment what the seats could not read, file items 81 and 82 2026-10-07 12:39:45 +02:00
lilleman 1b55e0f528 Answer prose round 3: the comments on highlight pairing, escaped backtick lengths and the memo read once, and the Raw HTML paragraph loses its half clause 2026-10-04 23:36:47 +02:00
lilleman 1ff27164f8 Answer architecture round 2: the spelling memo, headroom and the escaped backtick lengths state their rule at the code, and the highlight counter is named for what it counts 2026-10-04 23:36:47 +02:00
lilleman 88ec96556c Answer architecture round 1: the comments the panel found as bare spec pointers state their rule, and the spec cites no plan item 2026-10-04 23:36:47 +02:00
lilleman acc8227598 Gather the plain flavour's code in markdown/plain/ 2026-10-03 15:50:24 +02:00
lilleman aad2ada03e 35b - review: drop every unread highlight in one pass, one task-as-text path, a linear title trim 2026-09-29 12:05:04 +02:00
lilleman 89911a501c 35b - the writer spells the plain flavour and escapes text that would read as its markers 2026-09-29 11:42:46 +02:00
lilleman 1dea2b587e 10a - the line emitter names the first fallback a plain line would take, and the mark run it drops 2026-09-25 19:03:10 +02:00
lilleman c30034b9f5 26 - the container stack owns the directive depths, and the escape claim hands over after it records 2026-09-24 00:02:58 +02:00
lilleman 549fc845ec 26 - the escape phases and the container stack hold their invariants in types 2026-09-23 23:48:08 +02:00
lilleman a52ec5a73d 22 - the line container is markdown's, so the seam is the two spelling asks 2026-09-21 22:15:27 +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 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 0eb2665ffe 12c: the block directive forms read and spell !adf: openers and closers 2026-09-16 15:46:52 +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 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 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 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 5f8933e432 5b3: merge the code list's duplicate causes, spell the list separator, claim the bare pipe table 2026-09-03 19:05:23 +02:00
lilleman d54f72ea51 Read the three directive forms, their attributes and the fences that nest them 2026-09-01 08:12:03 +02:00
lilleman cc794d541e Read the emphasis, the links and the lone image CommonMark spells (#34) 2026-08-31 22:33:54 +02:00
lilleman 5975d8d912 Read the inline text, and decode the escapes and references CommonMark spells (#33) 2026-08-30 23:32:57 +02:00
lilleman 087952555d Answer the architecture review: the claim rides a block, and the path comes from the node layer 2026-08-27 23:39:06 +02:00
lilleman 44b2db3200 Answer the architecture review: emit-only spellings move down, and the tables drop markdown's words 2026-08-27 22:37:11 +02:00
lilleman 430ef908c4 Part the source into adf/ and markdown/ ahead of the parser 2026-08-27 22:16:27 +02:00