The compiler unparse_compiler_state package implements state dump functionality supporting debugging and documentation.
Nomenclature: We distinguish syntax tree unparsing, which attempts to regenerate an approximation of original surface-level syntax, from syntax tree prettyprinting, which attempts to display the syntax tree as a datastructure in its own right, with no direct reference to surface sytnax.
The unparse_compiler_state package implements the Unparse_Compiler_State api.
The unparse_compiler_state package source code is in src/lib/compiler/front/typer-stuff/symbolmapstack/unparse-compiler-state.pkg.
The above information is manually maintained and may contain errors.