Skip to main content

reconstruct

Function reconstruct 

Source
pub fn reconstruct(program: &Program) -> Result<String, ReconstructError>
Expand description

Reconstruct a canonical Workshop program into OPY source.

Resolves builtin identities through the built-in OPY semantic manifest and Workshop catalog (en-US). Returns all diagnostics when a construct cannot be represented in OPY.