jecolon/ziglyph
View on GitHub ↗ ★ 215
Unicode text processing for the Zig programming language.
7 mentions on Hacker News by 4 people: 0 stories, 7 comments · first 2021-06-28 · latest 2022-11-14
20082026
-
…unicode spec and there have been talks about upstreaming it into the stdlib, but no decisions yet. https://github.com/jecolon/ziglyph
comment by kristoff_it · 2022-11-14 · in Writing a SQL database, take two: Zig and RocksDB -
…make up utf8 strings.. in order to do actual string level manipulation a library is needed (such as https://github.com/jecolon/ziglyph or others)
comment by dingdingdang · 2022-09-06 · in Revisiting the design approach to Zig -
…Zig: the stdlib has some utf8 and wtf validation code, ziglyph implements the full unicode spec. https://github.com/jecolon/ziglyph You might not like how it's done, but its factually incorrect to state that Zig can't handle unicode. > In…
comment by kristoff_it · 2022-01-17 · in Failing to Learn Zig via Advent of Code -
for strings, these might be good (haven't tried them yet): https://github.com/jecolon/zigstr https://github.com/jecolon/ziglyph
comment by eirojhupp · 2021-12-27 · in A Review of the Zig Programming Language (Using Advent of Code 2021) -
Agreed, and Zig also has a lib for that as well: https://github.com/jecolon/ziglyph/
comment by kristoff_it · 2021-09-08 · in Maintain It with Zig -
…those out and other useless information like comments and version information can be found here: https://github.com/jecolon/ziglyph/blob/main/src/collator/Al... If you want to play around with UnicodeData.txt (which is less sequential,…
comment by slimsag · 2021-07-04 · in Unicode data file compression: achieving 40-70% reduction over gzip alone -
…I can bring it to under 50K and beat gzip/brotli compressions, but with those on top can go further https://github.com/jecolon/ziglyph/issues/3
comment by slimsag · 2021-06-28 · in Unicode sorting is hard and why browsers added special emoji matching to regexp