[jsword-devel] Keys and Passages
dmsmith555 at yahoo.com
Mon Jul 26 06:47:51 MST 2004
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
Joe Walker wrote:
> 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.
> jsword-devel mailing list
> jsword-devel at crosswire.org
More information about the jsword-devel