Repository navigation
Grid script: explainer, online dictionary and converter - #10
Merged
Merged
Conversation
New section /script/ (CN) and /script/en/ (EN): - the idea: parts, words, lines as graph edges, numbers, voices, with live drawings - dictionary: searchable in both languages, write any word to see how it draws and reads - converter: page source to drawing (SVG, text, link) and drawing back to source, with a grid editor lib/glyph.js ports glyph-cli 0.2.0 to JavaScript and uses its bundled vocabulary; npm test checks it against fixtures generated by the CLI itself. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RH7A8tqLXxxGiks9mUWtyE
❌ Deploy Preview for interimm-interstellar failed.
|
Deploy previews still use the old Hugo build settings and fail on plain static files. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RH7A8tqLXxxGiks9mUWtyE
Member
Author
|
The Netlify checks (deploy/netlify, Pages changed, Header rules, Redirect rules) are failing, but not because of this PR. They come from the old Netlify site, which still builds deploy previews of this repo, and they're red on #9 and earlier PRs too. I tried porting #9's Generated by Claude Code |
… not the fix Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RH7A8tqLXxxGiks9mUWtyE
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.
Requested by L · project thread
Before: the grid script lived only in the story notes and the
glyphcommand line.After: the site has a new section, 网格文字 · Grid script, in Chinese (
/script/) and English (/script/en/), with three pages:/script/): the grid and the two voices, the sixteen parts, two-part words, every line as a graph edge (with the tense table), numbers as nine bits (with a slider), stacking as another voice (rule 5), and how the machine reads a page. Every drawing and graph reading is generated live, and each example opens in the converter. It links to/signals/#theoryfor the resonance theory rather than repeating it./script/dictionary/): all 55 words drawn, searchable in Chinese and English, filtered by domain. Writing out a word that isn't listed (BODY.STAR,COUNT.42) shows how it draws and reads from its parts./script/convert/): page source to drawing (SVG download, text copy, shareable link) and back. Drawing to source comes with a grid editor where you stamp parts or draw single cells as +, × or another symbol, and the result is read as a knowledge graph. Errors (unknown part, a mark off the lattice, mixed symbols…) are shown in the page's language.How:
lib/glyph.jsis a JavaScript port of glyph-cli 0.2.0 (numbers asCOUNT.n), andlib/glyph-vocab.jsonis its bundled vocabulary unchanged, so the site and the CLI agree.lib/glyph-zh.jsonadds the Chinese glosses.npm test(new GitHub Actions workflow) checks the port against fixtures written by glyph-cli itself (scripts/glyph_fixtures.py): rendering, SVG, graph text and decoding for all eight CLI examples, every word, word parsing and all 512 numbers, plus the CLI's own test cases. New menu and footer entries inkit/nav.*.json. Static, no build step, zero running cost.🤖 Generated with Claude Code
https://claude.ai/code/session_01RH7A8tqLXxxGiks9mUWtyE
Generated by Claude Code