Evaluated proc condense_proc name { set p [safebody $name];  string map {\t {} ;; ;} [regsub -all \n [eachline [regsub -all { +} [regsub {^; +} [regsub -all {([^\{])\n} $p {\1; }] {}] { }] trim] {}] }