suggestion to implement the string API twice

Gerd Pokorra gp at zimt.uni-siegen.de
Thu Jan 29 15:36:14 UTC 2009


Hello,

what about to implementing the Parrot string API twice.

One implementation completely without ICU (Parrot native)
and the other implementation completely by using the ICU-library.

Both implementations should provide the same functions as described in
pdd28_strings.pod and the user can choose with a configuration option
which he want to use, if he has ICU installed (#if PARROT_HAS_ICU).
If he has not ICU installed he need to use the implemantation without
ICU.
This should be the default.


Another suggestion is
  #if PARROT_HAS_ICU
to provide Parrot string functions called like:

Parrot_str_grapheme_replace_icu
Parrot_str_chopn_icu
...

Gerd Pokorra




More information about the parrot-dev mailing list