Library inspired by https://github.com/mattn/go-runewidth and https://github.com/rivo/uniseg to handle the width and segmenting of Unicode runes and graphemes
Vivianne Langdon
afa19676c5
Not sure if I have a use-case yet but it seems like it could come in handy. |
||
---|---|---|
build-aux | ||
doc | ||
scripts | ||
tests | ||
uniseg | ||
.gitignore | ||
configure.ac | ||
COPYING | ||
guix.scm | ||
HACKING | ||
Makefile.am | ||
pre-inst-env.in | ||
README.org | ||
uniseg.scm |
README for Guile Uniseg
guile-uniseg
is a simple Guile library that provides several new Guile character sets for categorizing
East Asian characters and emoji. This can be useful when determining the width of characters.
This library is heavily inspired by the golang libraries uniseg
and uniseg
.
Scripts
There are two scripts which can be used to regenerate the character set files. These are optional to run, since
the script's output is stored in the repository at uniseg/eastasian.scm
and uniseg/emoji.scm
.
However, should the source change as the unicode spec changes, these can be refreshed.