Commit graph

11 commits

Author SHA1 Message Date
31012d5b8f Yet another reorganization, and solve Christine's 'rude problem'
- We change the stream iterator to *always* return a grapheme
  (except for EOF). The grapheme then gets built up over time.
  - This way, trans flag for example is first white flag, then
  white flag + zwj, etc until it finally transforms into the
  trans flag.
  - Users of the stream library can then use the `modification?'
  flag to determine if the stream value is a modification of the
  prior grapheme instead of a new grapheme.
  - Abstracted iteration to an iterator object to support use cases
  where we don't have an input stream (reflow needs this!)
2024-03-05 11:46:32 -05:00
1c0c4634f9 Renaming vars [need to sort the output of hash table...] 2024-03-04 17:21:19 -05:00
5f684735df Further boilerplate improvements 2024-03-04 17:18:25 -05:00
94dd8e00e8 Cut out a LOT of duplicated boilerplate, very simple definitions now 2024-03-04 17:12:09 -05:00
a03c6d2348 Cleanups and reducing duplicates 2024-03-04 14:27:12 -05:00
92dc5a8908 Fixing issues with the stream unit tests (#1)
Reviewed-on: #1
Co-authored-by: Vivianne Langdon <puttabutta@gmail.com>
Co-committed-by: Vivianne Langdon <puttabutta@gmail.com>
2024-03-04 19:04:27 +00:00
e53876be52 Holy shit it works 2024-03-03 20:25:47 -05:00
f1c03097f1 Renaming to uniseg 2024-03-03 13:13:22 -05:00
4a93c70b79 Significant refactors and cleanups, and add grapheme parse 2024-03-02 18:54:38 -05:00
470b20a74c Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
10c8421f29 WIP script 2024-03-01 08:09:22 -05:00