Exemple #1
0
def step_impl(context):
    with redirector(out=context.vm_out, err=context.vm_err):
        for instruction in context.tree.instructions:
            evaluate(instruction, context.scope)
Exemple #2
0
def step_impl(context):
    with redirector(out=context.vm_out, err=context.vm_err):
        evaluate(context.instruction, context.scope)