compile

fun SourceFile.compile(backend: Backend, selectionSolver: SelectionProblemSolver = defaultSelectionProblemSolver, costRegime: SimpleCostRegime = SimpleCostRegime.WAN, saveLabelConstraintGraph: (graphWriter: (Writer) -> Unit) -> Unit? = null, saveInferredLabels: File? = null, saveEstimatedCost: File? = null, saveProtocolAssignment: File? = null): ProgramNode

Similar to SourceFile.compileToKotlin, but returns a program for the interpreter.