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
Find a file
Vivianne Langdon afa19676c5
Add new function to get the first grapheme from a string.
Not sure if I have a use-case yet but it seems like it could come in handy.
2024-03-10 20:09:25 -04:00
build-aux Delete hall and its nonsense 2024-03-06 12:42:03 -05:00
doc Update doc stubs to remove hall and references to reflow 2024-03-06 12:43:47 -05:00
scripts Yet another reorganization, and solve Christine's 'rude problem' 2024-03-05 11:46:32 -05:00
tests Yet another reorganization, and solve Christine's 'rude problem' 2024-03-05 11:46:32 -05:00
uniseg Add new function to get the first grapheme from a string. 2024-03-10 20:09:25 -04:00
.gitignore Add pre-inst-env 2024-03-06 12:58:37 -05:00
configure.ac Delete hall and its nonsense 2024-03-06 12:42:03 -05:00
COPYING Initial commit 2024-02-29 13:03:58 -05:00
guix.scm Update guix to get rid of hall cruft 2024-03-06 12:48:57 -05:00
HACKING Update doc stubs to remove hall and references to reflow 2024-03-06 12:43:47 -05:00
Makefile.am Delete hall and its nonsense 2024-03-06 12:42:03 -05:00
pre-inst-env.in Add pre-inst-env 2024-03-06 12:58:37 -05:00
README.org Renaming to uniseg 2024-03-03 13:13:22 -05:00
uniseg.scm Yet another reorganization, and solve Christine's 'rude problem' 2024-03-05 11:46:32 -05:00

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.