“…It can be seen as a regular tree grammar that produces only t. A drawback of DAG-compression is that the size of the DAG is lower-bounded by the height of the tree t. Hence, for deep narrow trees (like for instance caterpillar trees), the DAG-representation cannot achieve good compression. This can be overcome by representing a tree t by a linear context-free tree grammar that produces only t. Such grammars are also known as tree straight-line programs in the case of ranked trees [10,29,30] and forest straight-line programs in the case of unranked trees [17]. The latter are tightly related to top dags [7,4,13,21], which are another tree compression formalism, also akin to grammars.…”