pub fn canonical_program_source(
program: &Program,
) -> Result<String, CanonicalSourceError>Expand description
Pretty-print a canonical Lashlang program as source.
This is a view of the IR, not the original authored text: comments and
formatting are not preserved. If the program was linked and contains host
descriptor constructors, use canonical_program_source_with_requirements
so constructor paths can be recovered from the saved host requirements.