Skip to content

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

Contributing

Stars

7 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages