Ropes (concatenation trees) for strings in D ?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 16 03:42:50 PDT 2014


On Sat, 16 Aug 2014 10:25:01 +0000
MrSmith via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> Can you also share your progress?
sure. the project has no public repo yet, but you can take a look at
it's current state here: http://ketmar.no-ip.org/etx.txz

no undo/redo support for now, and it accepts only dchars, but you can
find working (i hope, at least unittests works ;-) rb-tree and
piecetable there. no slicing yet, and range support is nearly
non-existing, but piecetable supports extensible text styles! ;-)

i'm not really happy with design though. it mindlessly allocates alot
of small classes (it should use pools instead, i believe) and high-level
text rendering interface is not ported yet.

i'm planning to announce it in d.announces when it will be ready to 'go
public'. not sure yet if i'll leave it 'as is' or will try to rewrite in
in something like 'D style' before announcing.

ah, and it needs at least minimal documentation too. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140816/da3533f7/attachment.sig>


More information about the Digitalmars-d-learn mailing list