Description
Load data organized in a tree.
Description
This library loads a string or file into a Tree. The hierarchy is given solely by the indentation, meaning that the input is human-readable.
README.md
Introduction
A library capable of loading a tree (a forest, actually) from a file. This tree is meant to be human-readable, with a free (as long as it is consistent) indentation style.
Simtree format
A Simtree must be organized in such a way that every child is one indentation deeper than its parent, and all siblings have the same indentation. The String used for indentation is inferred from the first indentation depth. The entire first line (except the newline character) represents the beginning of a comment.
Example file:
#
A
B
C
D
E
F
G
H