Ticket #179 (new feature)

Opened 1 year ago

Last modified 1 month ago

Standard library support for Unicode

Reported by: lth Assigned to: lth
Type: feature Priority: major
Milestone: Component: Proposals
Version: Harmony Keywords: unicode
Cc: brendan, graydon, jeffdyer, david-sarah@jacaranda.org

Description

spec/library/string_primitive.html: Various parts of the code make use of the Unicode library, but this library is not presented in a coherent way anywhere, so for the most part it's just included "as text". This is not very good. It may be interesting to consider exposing the library, and making it available to user code too.

It's unclear how this is a constraint on small implementations, and also whether exposing it will lead to pressures to make it more general, increasing the pressure on small implementations...

Attachments

Change History

Changed 1 month ago by David-Sarah Hopwood

  • cc changed from brendan,graydon,jeffdyer to brendan, graydon, jeffdyer, david-sarah@jacaranda.org
  • keywords set to unicode
  • version changed from 4 to Harmony
  • type changed from defect to feature
  • summary changed from Builtins: The Unicode library is referenced, but never defined. Should it be exposed somehow? to Standard library support for Unicode

Features that need to be exposed include at least normalization, case-folding, transcoding between Unicode and other character encodings, conversion to/from UTF-8 and UTF-32, character property information, and the bidirectional algorithm.

Changed 1 month ago by David-Sarah Hopwood

  • component changed from Spec to Proposals
Note: See TracTickets for help on using tickets.