Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
November 08, 2004 String Theory and ICU | ||||
---|---|---|---|---|
| ||||
There's now a set of D wrappers around the ICU project; which also happens to include a reasonably good String class. The ICU4D topic is here: http://www.dsource.org/forums/viewtopic.php?t=420 ICU pages are over here: http://oss.software.ibm.com/icu/ The D interface is not yet complete, so it would be great if some of you could help to fill in the gaps. It's not hard to do, and you don't need to understand all about ICU to help out. In addition, the work done thus far provides a set of solid examples to crib from. |
November 08, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | "Kris" <fu@bar.com> wrote in message news:cmmoqr$1bfn$1@digitaldaemon.com... > There's now a set of D wrappers around the ICU project; which also happens to include a reasonably good String class. > > The ICU4D topic is here: http://www.dsource.org/forums/viewtopic.php?t=420 ICU pages are over here: http://oss.software.ibm.com/icu/ > > The D interface is not yet complete, so it would be great if some of you could help to fill in the gaps. It's not hard to do, and you don't need to understand all about ICU to help out. In addition, the work done thus far provides a set of solid examples to crib from. Did AJ get anywhere with a port? Is there something to download - either AJ's or yours? |
November 08, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Ben Hinkle wrote: > > Did AJ get anywhere with a port? Is there something to download - either > AJ's or yours? Jill has been MIA for a while. I think Kris decided to go ahead and port ICU on his own. It's in the Mango SVN tree for now at http://svn.dsource.org/svn/projects/mango/trunk/mango/icu/ I assume you should grab the ICU lib and start adding headers that aren't already present. I'm going to try and help out as well. Sean |
November 08, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Ben Hinkle wrote:
> "Kris" <fu@bar.com> wrote in message news:cmmoqr$1bfn$1@digitaldaemon.com...
>
>>There's now a set of D wrappers around the ICU project; which also happens
>>to include a reasonably good String class.
>>
>>The ICU4D topic is here: http://www.dsource.org/forums/viewtopic.php?t=420
>>ICU pages are over here: http://oss.software.ibm.com/icu/
>>
>>The D interface is not yet complete, so it would be great if some of you
>>could help to fill in the gaps. It's not hard to do, and you don't need to
>>understand all about ICU to help out. In addition, the work done thus far
>>provides a set of solid examples to crib from.
>
>
> Did AJ get anywhere with a port? Is there something to download - either
> AJ's or yours?
Kris' stuff is in the Mango svn repository.
|
November 08, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Sean Kelly wrote:
> Ben Hinkle wrote:
> >
>> Did AJ get anywhere with a port? Is there something to download - either AJ's or yours?
>
> Jill has been MIA for a while. I think Kris decided to go ahead and port ICU on his own. It's in the Mango SVN tree for now at http://svn.dsource.org/svn/projects/mango/trunk/mango/icu/ I assume you should grab the ICU lib and start adding headers that aren't already present. I'm going to try and help out as well.
>
>
> Sean
I was just curious. I'm not a fan of adding a string class to D so my involvement will be minimal. My own 2 cents would be to port the parts that D doesn't already have - basically just the converters (to convert between utf and legacy encodings) and transformers (to uppercase/lowercase and normalize strings). Maybe I'll check out Jill's project that she started before switching to ICU.
-Ben
|
November 08, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | "Ben Hinkle" <bhinkle4@juno.com> wrote | I was just curious. I'm not a fan of adding a string class to D so my | involvement will be minimal. My own 2 cents would be to port the parts that | D doesn't already have - basically just the converters (to convert between | utf and legacy encodings) and transformers (to uppercase/lowercase and | normalize strings). Maybe I'll check out Jill's project that she started | before switching to ICU. There's a list of the modules currently done, under way, and not started, over here: http://www.dsource.org/forums/viewtopic.php?t=420 There's an ocean of functionality in ICU. I can't think of anything in there that was already fully covered by some D library, so wrapping all of it is of significant value. Yes, there is a String class in there, which is leveraged within some of the other classes. Personally, I don't bother with the partisan aspects surrounding the notion of String: it would seem more important to have the extensive ICU functionality enabled and available for anyone to use; for free. One can download the wrappers from dsource SVN, and you'll need to grab the ICU dlls also. There's some directions over here: http://www.dsource.org/forums/viewtopic.php?t=422 Every little bit of help on this will benefit the D community, so don't be shy about donating some time :-) |
November 12, 2004 Re: String Theory and ICU | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris Attachments: | Thought I'd ask again if anyone else can contribute to this effort: - There's still some key areas left uncovered. - Some expertise in one area or another would really be of value in making some perhaps more 'intuitive' wrappers around the raw API. - The ICU C-APIs are limited in some areas, and sub-optimal in others: to get around this, some additional glue written in C would be very helpful (will explain this in detail to those interested). There's lots to do here! Please don't be shy about offering your expertise and/or time [the list of completed bindings is here: http://www.dsource.org/forums/viewtopic.php?t=420] "Kris" <fu@bar.com> wrote in message news:cmmoqr$1bfn$1@digitaldaemon.com... | There's now a set of D wrappers around the ICU project; which also happens | to include a reasonably good String class. | | The ICU4D topic is here: http://www.dsource.org/forums/viewtopic.php?t=420 | ICU pages are over here: http://oss.software.ibm.com/icu/ | | The D interface is not yet complete, so it would be great if some of you | could help to fill in the gaps. It's not hard to do, and you don't need to | understand all about ICU to help out. In addition, the work done thus far | provides a set of solid examples to crib from. |
Copyright © 1999-2021 by the D Language Foundation