Treeng

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

A treeng is an esoteric data structure that is produced when you mix a tape ring (a tape that is joined at the ends) with a tree. There's a root node, which has child nodes, which have child nodes, et cetera, then all leaves loop back to the root node. Only one node can point to any given node, unlike directed graphs. Treengs may be resizable if you can insert a node between the immediate connection of a leaf and the root node.