Skip to content

Library for working with the .tree format.

License

Notifications You must be signed in to change notification settings

thenesterov/treearbo

Repository files navigation

treearbo

is a python implementation of a parser for the tree format

This is the WIP (work in progress) to provide python support for the tree format of the $mol frontend framework. Use it like this:

from treearbo import string_to_tree, tree_to_string

tree_string = r"""user
	name \Jin
	age 35
	hobby
		\kendo
		\dance
		\role play
"""

tree = string_to_tree(tree_string)

assert tree_string == tree_to_string(tree)

About

Library for working with the .tree format.

Resources

License

Stars

Watchers

Forks

Languages