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 f1c03097f1 | ||
---|---|---|
doc | ||
scripts | ||
tests | ||
uniseg | ||
.gitignore | ||
COPYING | ||
HACKING | ||
README | ||
README.org | ||
guix.scm | ||
hall.scm | ||
uniseg.scm |
README
# -*- mode: org; coding: utf-8; -*- #+TITLE: 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.