[#107867] Fwd: [ruby-cvs:91197] 8f59482f5d (master): add some tests for Unicode Version 14.0.0 — Martin J. Dürst <duerst@...>
To everybody taking care of continuous integration:
3 messages
2022/03/13
[#108090] [Ruby master Bug#18666] No rule to make target 'yaml/yaml.h', needed by 'api.o' — duerst <noreply@...>
Issue #18666 has been reported by duerst (Martin D端rst).
7 messages
2022/03/28
[#108117] [Ruby master Feature#18668] Merge `io-nonblock` gems into core — "Eregon (Benoit Daloze)" <noreply@...>
Issue #18668 has been reported by Eregon (Benoit Daloze).
22 messages
2022/03/30
[ruby-core:107942] [Ruby master Feature#18563] Add "graphemes" and "each_grapheme" aliases
From:
"matz (Yukihiro Matsumoto)" <noreply@...>
Date:
2022-03-17 08:56:49 UTC
List:
ruby-core #107942
Issue #18563 has been updated by matz (Yukihiro Matsumoto). Status changed from Open to Closed For the record, "Grapheme" and "Grapheme cluster" are different concepts. If we call them "grapheme", It's kind of like calling "Wikipedia" as "Wiki". Until Unicode consortium defines a shorter name for them or the convention calling them "grapheme" become popular as common sense, we don't provide such aliases. So my opinion has not been changed since. Short answer: "not yet". Matz. ---------------------------------------- Feature #18563: Add "graphemes" and "each_grapheme" aliases https://bugs.ruby-lang.org/issues/18563#change-96892 * Author: shan (Shannon Skipper) * Status: Closed * Priority: Normal ---------------------------------------- https://bugs.ruby-lang.org/issues/13780#note-10 > grapheme sounds like an element in the grapheme cluster. How about each_grapheme_cluster? > If everyone gets used to the grapheme as an alias of grapheme cluster, we'd love to add an alias each_grapheme. > Matz. Languages that have added grapheme cluster support seem to be almost exclusively opting for the shorter "graphemes" alias as a part that stands for the whole. * JavaScript/TypeScript grapheme-splitter library: `splitGraphemes` * PHP: `grapheme_extract` * Zig ziglyph library: `GraphemeIterator` * Golang uniseg library: `NewGraphemes` * Matlab: `splitGraphemes` * Python grapheme library: `graphemes` * Elixir: `graphemes` * Crystal uni_text_seg library: `graphemes` * Nim nim-graphemes library: `graphemes` * Rust unicode-segmentation library: `graphemes` Now that some time has passed and the "graphemes" alias for "grapheme clusters" has been fairly widely adopted by languages and libraries, I'd like to go ahead and propose a `graphemes` alias for `grapheme_clusters` and an `each_grapheme` alias for `each_grapheme_cluster`. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>