diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-09 08:12:11 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-09 08:12:11 -0800 |
commit | d253a3182859c7c989449122a60d5f362f19ded0 (patch) | |
tree | 7459cddc57f93107fa4cee89d4f0a94dd0f0f131 /linux/vocabulary.md | |
parent | d1808995b2c6b99749237a29e6ac6477d00ff8f9 (diff) | |
download | mu-d253a3182859c7c989449122a60d5f362f19ded0.tar.gz |
rename grapheme to code-point-utf8
Longer name, but it doesn't lie. We have no data structure right now for combining multiple code points. And it makes no sense for the notion of a grapheme to conflate its Unicode encoding.
Diffstat (limited to 'linux/vocabulary.md')
-rw-r--r-- | linux/vocabulary.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/vocabulary.md b/linux/vocabulary.md index f1c6e3a5..2eefae33 100644 --- a/linux/vocabulary.md +++ b/linux/vocabulary.md @@ -206,8 +206,8 @@ doesn't yet parse floating-point literals: - `print-int32-buffered`: int -> buffered-file - textual representation in hex, including '0x' prefix -- `write-grapheme`: grapheme -> stream -- `to-grapheme`: code-point -> grapheme +- `write-code-point-utf8`: code-point-utf8 -> stream +- `to-utf8`: code-point -> code-point-utf8 - `write-float-decimal-approximate`: float, precision: int -> stream @@ -226,8 +226,8 @@ there isn't enough room in the destination stream. - `read-line-buffered`: buffered-file -> stream - Will abort the entire program if there isn't enough room. -- `read-grapheme`: stream -> grapheme -- `read-grapheme-buffered`: buffered-file -> grapheme +- `read-code-point-utf8`: stream -> code-point-utf8 +- `read-code-point-utf8-buffered`: buffered-file -> code-point-utf8 - `read-lines`: buffered-file -> array of strings @@ -268,7 +268,7 @@ Unix terminal properties supported by almost all modern terminal emulators. - `print-string`: string -> screen - `print-stream` -- `print-grapheme` +- `print-code-point-utf8` - `print-code-point` - `print-int32-hex` - `print-int32-decimal` @@ -290,7 +290,7 @@ manipulated. Assertions for tests: -- `screen-grapheme-at` +- `screen-code-point-utf8-at` - `screen-color-at` - `screen-background-color-at` - `screen-bold-at?` |