Posted to tcl by stevelitt at Fri Jan 17 12:58:44 GMT 2020view pretty

#!/usr/bin/tclsh

package require yaml

set hud [::yaml::yaml2huddle -file ./mwe.yaml]
puts $hud
puts "\n==============================\n"
set yamlstring [::yaml::huddle2yaml $hud 5 45]
puts $yamlstring