mirror of
https://github.com/microsoft/edit.git
synced 2025-07-01 21:51:12 +00:00
|
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
Grapheme Table Generator
This tool processes Unicode Character Database (UCD) XML files to generate efficient, multi-stage trie lookup tables for properties relevant to terminal applications:
- Grapheme cluster breaking rules
- Line breaking rules (optional)
- Character width properties
Usage
- Download ucd.nounihan.grouped.zip
- Run some equivalent of:
grapheme-table-gen --lang=rust --extended --no-ambiguous --line-breaks path/to/ucd.nounihan.grouped.xml
- Place the result in
src/unicode/tables.rs