simtreelo: Load data organized in a tree.

[ data, gpl, library ] [ Propose Tags ]

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.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4
Dependencies base (>=4.8 && <5), containers [details]
License GPL-3.0-only
Copyright (c) 2014-2018 Marcelo Garlet Millani
Author Marcelo Garlet Millani
Maintainer marcelogmillani@gmail.com
Category Data
Source repo head: git clone https://gitlab.com/mgmillani/simtreelo.git
Uploaded by mgmillani at 2018-10-23T17:02:58Z
Distributions NixOS:0.1.1.4
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 6300 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-23 [all 1 reports]

Readme for simtreelo-0.1.1.4

[back to package description]

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