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

  1. #!/usr/bin/tclsh
  2.  
  3. package require yaml
  4.  
  5. set hud [::yaml::yaml2huddle -file ./mwe.yaml]
  6. puts $hud
  7. puts "\n==============================\n"
  8. set yamlstring [::yaml::huddle2yaml $hud 5 45]
  9. puts $yamlstring
  10.