nqp
nqp copied to clipboard
Implement NFG on JVM
The MoarVM backend provides the NFG (Normalization Form Grapheme) primitives wanted by Perl 6 for sensible string handling, but the JVM backend is still lacking an implementation.
The main components of this are implementing a custom string class with NFG semantics and replacing the relevant occurrences of java.lang.String
with that, as well as implementing the relevant nqp::ops.
An open question is whether Java provides enough of the Unicode Character Database (UCD) to implement it.
See also http://irclog.perlgeek.de/perl6/2015-08-11#i_11038254
Just for the referencen there is a similar issue for Rakudo: also https://github.com/rakudo/rakudo/issues/4291