StudebakerGuy
1d0510d27f
is_graphic now uses the generated Unicode tables
...
unicode.is_graphic has been modified to use the generted Unicode
tables. The tables Me, Mn, Mc, and Zs were add as needed by is_graphic.
2026-03-09 19:48:23 +01:00
StudebakerGuy
65d0e5c82f
is_symbol uses generated Unicode tables
...
Tables for Sm, Sc, Sk, So are now being generated. These tables
are now being searched by is_symbol
2026-03-09 19:48:22 +01:00
StudebakerGuy
8f5f1ee1cc
is_punct now searches generated tables
2026-03-09 19:48:20 +01:00
StudebakerGuy
9b38bdf849
Refactor to remove the us of if do
2026-03-09 19:48:18 +01:00
StudebakerGuy
e9943e6145
is_letter now uses generated tables
...
unicode.is_letter has been modified to use the generated unicode tables.
2026-03-09 19:48:18 +01:00
StudebakerGuy
69c04b696a
islower now used the generated tables
2026-03-09 19:48:16 +01:00
StudebakerGuy
090dedda1b
is_number now searches generate tables
2026-03-09 19:48:14 +01:00
StudebakerGuy
e5b1f1bf94
Add procedure is_decimal
...
This adds the function `is_decimal` to `core/unicode`
2026-03-09 19:48:13 +01:00
StudebakerGuy
263bc8cc7e
Added comment to is_digit
2026-03-09 19:48:12 +01:00
StudebakerGuy
673adf30c3
Add searing of generated tables, Fixed in_digit
...
This adds the functino `unicode.in_range` to search for a run in
the `Range` type used in `core/unicode/generated.odin`.
This also modifies `unicode.binary_search` so it will support searching
types other than i32 by making it support implicit parametric polymorphism.
`unicode.in_digit` has been modified to use the generated tables.
2026-03-09 19:48:11 +01:00
Dusty Miller
cb98a83f77
Update letter.odin
...
Fix MAX_RUNE to include planes up to 16.
2025-12-22 20:16:24 -06:00
thetarnav
3317a1f0e9
Add #no_bounds_check to procedures in core:unicode
2025-10-08 22:00:44 +02:00
gingerBill
e296d6fb90
Fix loads of indentation issues with mixing spaces and tabs
2024-06-29 19:50:51 +01:00
Feoramund
e620645a03
Measure East_Asian_Width during grapheme decoding
2024-06-19 22:35:36 -04:00
gingerBill
3d9db56410
Minor formatting changes to unicode stuff
2024-06-18 12:53:56 +01:00
Feoramund
63973f431e
Make core:unicode letter procs @(require_results)
2024-06-17 21:57:32 -04:00
Feoramund
1620a69398
Add decode_grapheme_clusters to core:unicode/utf8
2024-06-17 21:57:32 -04:00
Feoramund
1a93dfd28f
Fix indentation
2024-06-17 13:24:47 -04:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
740411f207
Minor change to unicode/letter.odin
2020-11-21 23:14:07 +00:00
gingerBill
e8da2ef65e
Update package unicode
2020-11-10 19:00:38 +00:00
gingerBill
a6a7395be7
Update unicode/letter.odin
2020-08-18 21:11:51 +01:00
gingerBill
f06efffe22
Update strings case convertors to be unicode compliant
2020-05-24 17:50:27 +01:00
gingerBill
0ee5a07d01
Add package unicode letter.odin
2020-01-26 20:44:27 +00:00