The simtreelo package

[ Tags: 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]

Properties

Versions 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
Dependencies base (>=4.8 && <4.11), containers [details]
License GPL-3
Copyright (c) 2014-2017 Marcelo Garlet Millani
Author Marcelo Garlet Millani
Maintainer marcelogmillani@gmail.com
Category Data
Source repository head: darcs get http://hub.darcs.net/mgmillani/Simtreelo
Uploaded Thu Sep 28 18:42:56 UTC 2017 by mgmillani
Distributions NixOS:0.1.1.2
Downloads 1064 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-28 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for simtreelo-0.1.1.2

[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