dx←{
ns←⎕NS ⍬
ns._Neg←{0=⍵}
h←{k v←↓⍉2(⊢⍴⍨÷⍨∘≢,⊣)⍺ ⋄ {⍵∊k:⊃v[k⍳⍵] ⋄ ⍵}¨⍵}
t←'~' '_Neg'
g←⍺⍺ ⋄ c←↓⎕CR'g'
s←{{⍵/⍨2∨/0,' '≠⍵}⍵/⍨~+\⍵='⍝'}¨c
b←↑,/'⋄',⍨¨{⍵/⍨0≠{≢⍵}¨⍵}s
f←{'}',⍨⍵/⍨1=+\1 ¯1 0['{}'⍳⍵]}b
e←ns⍎(∊' '(1↓∘,,⍤0){t h ⍵}¨60⌶f)
0=⎕NC'⍺':e ⍵ ⋄ ⍺ e ⍵
}