TOPFORMFLAT(1) | TOPFORMFLAT(1) |
topformflat - flattens code with balanced delimiters
topformflat [threshold]
topformflat is a utility flattens code written in a language with balanced delimiters (such as C), so that all nesting below a specified depth is one one line.
The threshold (default: 0) specifies at what nesting level of braces will line breaks be allowed (or inserted). By starting with 0, you get all top-level forms, one per line (roughly). Increasing the threshold leads to finer-grained structure on each line. The intent is to use the Delta minimizer on each level of granularity.
2022-05-27 | Delta 2006.08.03 |