So, for the past few days I’ve been working on a provisional S15 mostly for fun. I was considering TimToady’s long-ago suggestion of developing a libicu replacement tuned to Perl 6’s needs, and after learning some interesting things about NFG, I finally got around to writing an S15.
After those few days, S15 has become “good enough” for inclusion into the specs repository, where it will benefit from many people being able to edit the spec. Now anyone with commit access to the specs repository will be able to improve it, as well as anyone who forks the repo🙂 .
The contents of S15 are far from finished. There’s a lot of stuff that still needs working out, such as the functions of the
Unicodey roles, whether
Uni is a rope of multiple Normalization Forms or just a simple string containing that mixture, and the function of string operators now. For instance,
Str ~ Str
Concatenates two strings and results in a
Str. But what happens when you try
Uni ~ NFC NFKD ~ NFKC
or any of the other multitude of combinations of string types?
There are three things I see that I could do at this time:
- Write and fudge a bunch of S15 tests. This seems to me to be the most important thing, as it allows us to see how coding with these new things feels before they ever begin to work.
- Copy a bunch of S15 information to the rest of the spec. This involves at least, off the top of my head, S05, S32::Str(ing), and S02. Undoubtedly more.
- Start migrating the other specs to Pod6. The S15 I placed in the repository makes it the second Pod6-written document in the specs repository. I should think that now’s a good time to migrate the rest of the specs, and modify/replace the relevant scripts in the mu repository to handle Pod6. All this work would of course happen in branches.
The list is in about the order I plan on doing these things, assuming others don’t work on these things first🙂 .
So please, read our not-yet-stellar
provisional draft S15, and get ready for the Unicode Future™.