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
Go to file
Vivianne 4bab547c66 Oops wrong project lol here is a proper readme 2024-03-02 14:23:36 -05:00
doc Initial commit 2024-02-29 13:03:58 -05:00
runewidth remove the pks! 2024-03-02 14:02:32 -05:00
scripts Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
tests Reorganize, fix a bug with string shared 2024-03-02 14:00:05 -05:00
.gitignore Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
COPYING Initial commit 2024-02-29 13:03:58 -05:00
HACKING Initial commit 2024-02-29 13:03:58 -05:00
README Initial commit 2024-02-29 13:03:58 -05:00
README.org Oops wrong project lol here is a proper readme 2024-03-02 14:23:36 -05:00
guix.scm Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
hall.scm Remove empty file 2024-03-02 14:04:34 -05:00

README

# -*- mode: org; coding: utf-8; -*-

#+TITLE: README for Guile Runewidth

guile-runewidth 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 library `runewidth`.

* 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 runewidth/eastasian.scm and runewidth/emoji.scm.

However, should the source change as the unicode spec changes, these can be refreshed.