Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ glyph parts # the 16 parts
glyph find wind # search meanings
glyph check BODY.STAR # is it a word? exit 1 if not
glyph show BODY.OTHER --symbol 脳 # draw words
glyph number 2219 # COUNT.4.171: base-512 digits
glyph render examples/third-voice.txt # draw a page
glyph render examples/conversation.txt --per-line 1 # one triplet per line
glyph render examples/third-voice.txt --svg -o page.svg
glyph graph examples/conversation.txt # read it as a knowledge graph (--json, --dot)
glyph render examples/question.txt | glyph decode - # and back
glyph init my-vocab.json && export GLYPH_VOCAB=$PWD/my-vocab.json
glyph add BODY.STAR "a star-world" --domain Worlds
```

A page file has one band per line, `SYMBOL: node | relation | node`; a blank line starts the next statement. See [`examples/`](https://github.com/InterImm/glyph-cli/tree/main/examples) and the [docs](https://interimm.github.io/glyph-cli/pages/).
A page file has one band per line, `SYMBOL: node | relation | node`; a block of bands is one triplet, and a blank line starts the next. See [`examples/`](https://github.com/InterImm/glyph-cli/tree/main/examples) and the [docs](https://interimm.github.io/glyph-cli/pages/).

## Develop

Expand Down
64 changes: 25 additions & 39 deletions docs/assets/examples/conversation.drawing.txt
Original file line number Diff line number Diff line change
@@ -1,39 +1,25 @@
+++.+++.........+++.+.+
+++.+....+......+++....
+++.+++.........+++.+.+
.......................
....................脳脳脳
.......................
....................脳脳脳
.......................
....................*.*
.......................
....................*.*
.......................
.......................
.......................
+++.....+.+.....+++.+++
+.+......+..+...+++.+..
+++.....+.+.....+++.+++
.......................
.......................
.......................
.......................
.......................
.......................
.......................
.......................
.......................
.......................
.......................
+++.....+..............
+.+.....++...+...+.....
+++.....+++............
.......................
.......................
.......................
.......................
.......................
.......................
.......................
.......................
+++.+++.......+++.+.+....+++..+.+......+++.+++
+++.+.....+...+++........+.+...+..+....+++.+..
+++.+++.......+++.+.+....+++..+.+......+++.+++
..............................................
..................脳脳脳.........................
..............................................
..................脳脳脳.........................
..............................................
..................*.*.........................
..............................................
..................*.*.........................
..............................................
..............................................
..............................................
+++..+........................................
+.+..++...+....+..............................
+++..+++......................................
..............................................
..............................................
..............................................
..............................................
..............................................
..............................................
..............................................
..............................................
1,011 changes: 632 additions & 379 deletions docs/assets/examples/conversation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions docs/assets/examples/how-many.drawing.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.+..+.+..........+.....
+++.+.+..+......+.+....
.+..+.+..........+..+++
.......................
.......................
......................脳
................脳脳脳.脳..
.+..+.+........+.....
+++.+.+...+...+.+....
.+..+.+........+..+++
.....................
.....................
....................脳
..............脳脳脳.脳..
46 changes: 16 additions & 30 deletions docs/assets/examples/how-many.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/examples/numbers.drawing.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
+.+....................+......+..+.+..............
+.+..+....+...........+.+....+++.+.+...+.........+
+.+...........+++.+....++.....+..+.+.......+++.+..
Loading
Loading