frame_transpiler icon indicating copy to clipboard operation
frame_transpiler copied to clipboard

HSM test

Open frame-lang opened this issue 2 years ago • 0 comments

fn main {
    var hsm:# = #HSM_Preview()
    hsm.passMe1()
    hsm.passMe2()
}

#HSM_Preview

    -interface-

    passMe1
    passMe2 

    -machine-

    $Child => $Parent 

        |passMe1| print("handled in $Child") :>
        |passMe2|  :>

    $Parent

        |passMe1| print("handled in $Parent") ^
        |passMe2| print("handled in $Parent") ^

##

frame-lang avatar Nov 24 '23 16:11 frame-lang