Re: Sorted indexes and (string<?) in Jade

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
  • Re: Sorted indexes and (string<?) in Jade, (continued)
    • Heiko Kirschke - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA21929Tue, 15 Sep 1998 06:11:04 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA23924Tue, 15 Sep 1998 06:56:37 -0400 (EDT)
        • Matthias Clasen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA24258Tue, 15 Sep 1998 07:15:03 -0400 (EDT)
    • Matthias Clasen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA24498Tue, 15 Sep 1998 07:25:09 -0400 (EDT)
      • Steve Tinney - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA28239Tue, 15 Sep 1998 10:03:53 -0400 (EDT) <=
        • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA01725Tue, 15 Sep 1998 10:41:45 -0400 (EDT)
        • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA14264Wed, 16 Sep 1998 06:29:11 -0400 (EDT)
    • Thomas Corte - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA27043Sun, 27 Sep 1998 07:30:30 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA29921Sun, 27 Sep 1998 10:38:46 -0400 (EDT)