Subject: Re: Sorted indexes and (string<?) in Jade From: stinney@xxxxxxxxxxxxx (Steve Tinney) Date: Tue, 15 Sep 1998 10:09:13 -0400 (EDT) |
I have solved this problem, sort of, in a slightly different way. I say sort of only because I don't currently use my collate code in DSSSL, though I did hack it in. The basic idea is that one writes a sequence specification once, which can then be converted to different forms. At present there are two converters, written in Perl, which make C tables and a DSSSL alist respectively. I also have C library routines for doing the equivalent of strcmp with the unicode tables and a DSSSL quicksort implementation using them. I'm not maintaining this stuff, and I don't have time right now to do the sort of cleanups that would be needed to make it a general purpose tool. I'm quite happy to share the stuff with anyone who would like to take that on, though. It is not difficult to hack GNU sort to use this stuff, but although I've done that and verified that it works for my own slightly funky and limited purposes (sorting Sumerian transliterations by grapheme rather than by character), I would not want to guarantee that it interacts correctly with all the other sort options. This would be one example of a needed cleanup; it's on my list, but it might take me a year or more to get to it. The DSSSL stuff might well work out of the box, though. Steve Matthias Clasen wrote: > > > > > I know it's a lot of work to build a collation engine (even simply > > using the Unicode collation algorithm; more if it must support > > (define-language) in the future), but does anyone have plans to > > implement such a thing? > > I have in fact produced a prototype of such a thing some time ago, > but the code certainly needs improvements before one can consider > it for inclusion in jade. If there is interest in this, I could > make them available. > > Matthias > > -- > Matthias Clasen, > Tel. 0761/203-5606 > Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx > Institut fuer Mathematik, Albert-Ludwigs-Universitaet Freiburg > > > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Sorted indexes and (string<?) i, Matthias Clasen | Thread | Re: Sorted indexes and (string<?) i, Toby Speight |
Any way to hyperlink to a URL in Ja, Daniel Speck | Date | Re: Sorted indexes and (string<?) i, Toby Speight |
Month |