There's this one on the J wiki: https://code.jsoftware.com/wiki/Essays/Tree_Display
It works very well, with a fair amount of sanity check, but uses a slightly different data format: a list of pairs of parent-child (i.e. N x 2). It can handle both unboxed numbers, or boxed literals. Best regards, Jan-Pieter On Sun, Jul 19, 2020, 23:06 Julian Fondren <[email protected]> wrote: > On 2020-07-19 15:12, Devon McCormick wrote: > > Any other neat representation of a tree would also be appreciated. > > High-performance Tree Wrangling, the APL Way: > https://dyalog.tv/Dyalog18/?v=hzPd3umu78g > > I don't know how APL well enough to follow this very far, > but he separates the structure of trees from their data. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
