Repository navigation
Add the sample-first YomPUB Core draft and runnable reader - #11
Merged
Merged
Conversation
yo4e
marked this pull request as ready for review
October 20, 2026 06:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
YomPUB was documentation-only. This adds the first runnable source → semantic AST → reader prototype, using three deliberately small books: horizontal English, Japanese vertical text with ruby, and Arabic RTL with isolated multilingual runs.
0.1.0-draft.1proposal. Keep language, direction and writing mode independent; derive TOC and internal targets from headings.Related to #9. Issue #8's authoring app remains deferred. This is an experimental prototype, not a compatibility promise or a formal specification release.
Validation
At head
be48a06427f879f37e580e6a4abc650e31969c82, a separate temporary checkout passed:npm run check: lint, strict JS/JSDoc typecheck, 95 Node tests and build. One test checks all 652 upstream CommonMark examples with only empty-blockquote serialization whitespace normalized.CI=1 npm run test:ui: 24 headless scenarios across Chromium desktop/mobile emulation and WebKit desktop, including real layout, local folders, source/AST downloads, repeated switching, running-worker cancellation and failure recovery.CI repeats these checks on Ubuntu 24.04 / Node 22. The retained screenshots are the initial macOS evidence; current CI results are attached to the checked commit.
Remaining limits
Independent implementation, native-speaker RTL review, full screen-reader/physical-device evaluation and longer real-book reading are still open. CLI checks image signatures; the viewer performs actual decoding. ZIP, EPUB/PDF export, footnotes/captions and an integrated editor are outside this slice. See
docs/VALIDATION.mdfor exact limits.