patrickhuber / Pliant

MIT License
26 stars 4 forks source link

when using leo trees, the parse trees are not properly constructed. #21

Closed patrickhuber closed 9 years ago

patrickhuber commented 9 years ago

When using leo items, the trees produced are incorrect. Virtual Nodes need to start at the root of a leo chain and currently they start at the leo item that created the node being completed. A fix would skip to the top of the leo chain using a position index from the optimization step and attach it to the leo item.

Later, the leo chain's position index would be used to find the leo item to use when creating the virtual node.