private Tree<string> ExecuteInstructions(Tree<string> instructions)
{
var results = new SlimTree();
foreach (var statement in instructions.Branches) {
var result = processor.Invoke(new SlimInstruction(), new MemberName(string.Empty), statement).GetValue<Tree<string>>();
results.AddBranchValue(result);
if (ComposeException.WasAborted(result.ValueAt(1))) break;
}
return results;
}