Add Tree parser with bolt

Also add Tree builder (Recipe) which can recompose trees.
This commit is contained in:
Ettore Di Giacinto
2019-10-30 17:52:57 +01:00
committed by Ettore Di Giacinto
parent 9d0dc601b7
commit a5ceafca26
16 changed files with 574 additions and 78 deletions

View File

@@ -24,4 +24,5 @@ type Builder interface {
Save(string) error // A tree might be saved to a folder structure (human editable)
Load(string) error // A tree might be loaded from a db (e.g. bolt) and written to folder
Tree() pkg.Tree // generates world
WithTree(pkg.Tree)
}