Skip to main content

lower_to_stack

Function lower_to_stack 

Source
pub fn lower_to_stack(program: &ANFProgram) -> Result<Vec<StackMethod>, String>
Expand description

Lower an ANF program to Stack IR. Private methods are inlined at call sites rather than compiled separately. The constructor is skipped since it’s not emitted to Bitcoin Script.