[jsword-devel] Keys and Passages
Joe Walker
joe at eireneh.com
Tue Jul 27 14:41:01 MST 2004
Hi,
Sorry. I've been very busy. Monster check-in just landed. It's not as
bug free as I would normally like, but at least you can see where I've
got to.
I didn't restructure Keys as discussed below. Partly I ran out of time,
and partly I'm concerned that the change may take focus away from
getting 1.0 out.
Joe.
DM Smith wrote:
> Joe,
> How is it coming? Do you have an idea when you will check in your
> changes? (Checking in my changes is no big deal. That can wait until
> you are ready.)
> DM
>
> Joe Walker wrote:
>
>>
>> Hi,
>>
>> I've refactored KeyList and Key into a combined Key type, and
>> although there were a few points where I thought "This is too big" it
>> has worked out OK.
>> While I'm at it I'm making Passage and Key more similar, which
>> reduces the complexity of things quite a bit.
>>
>> Now it occurs to me that while we are making Key be a more standard
>> tree structure, there are ways in which it is decidedly not tree
>> like. With a tree I can dig down and find a node and then add child
>> nodes to that node. Thinking about Biblical references or
>> dictionaries, though we are not like that. I can dig down and get the
>> Gen 1 node, but what if I add "Mat 1" to that node?
>>
>> I think the answer is that the points in our node tree have built-in
>> knowledge about their position within the tree (not normal behavior
>> for a tree node) AND the only mutable node is the root node.
>>
>> Do we need to separate out Key into RootKey and ImmutableChildKey?
>> (I'm sure there are better names)
>>
>> Hope to check in soon.
>>
>> Joe.
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
More information about the jsword-devel
mailing list