Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move JS wrapper into Monoucha | bptato | 2024-06-03 | 1 | -44/+0 |
| | | | | Operation "modularize Chawan somewhat" part 3 | ||||
* | luwrap: use separate context (+ various cleanups) | bptato | 2024-05-10 | 1 | -1/+1 |
| | | | | | | Use a LUContext to only load required CharRanges once per pager. Also, add kana & hangul vi word break categories for convenience. | ||||
* | luwrap: replace Nim unicode maps with libunicode | bptato | 2024-05-09 | 1 | -4/+19 |
| | | | | | | | | | | | | | | | | | Instead of using the built-in (and outdated, and buggy) tables, we now use libunicode from QJS. This shaves some bytes off the executable, though far less than I had imagined it would. Also, a surprising effect of this change: because libunicode's tables aren't glitched out, kanji properly gets classified as alpha. I found this greatly annoying because `w' in Japanese text would now jump through whole sentences. As a band-aid solution I added an extra Han category, but I wish we had a more robust solution that could differentiate between *all* scripts. TODO: I suspect that separately loading the tables for every rune in breaksViWordCat is rather inefficient. Using some context object (at least per operation) would probably be beneficial. | ||||
* | Update code style | bptato | 2024-04-17 | 1 | -7/+8 |
| | | | | | | * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines | ||||
* | Compile with styleCheck:usages | bptato | 2023-12-28 | 1 | -1/+1 |
| | | | | much better | ||||
* | Include libunicode header in binding | bptato | 2023-07-15 | 1 | -0/+5 |
| | |||||
* | Add unicode normalization, etc | bptato | 2022-12-19 | 1 | -0/+23 |