public object Apply(FunctionNode function, IList<object> arguments, Environment environment) { var result = applyFunctions[function.GetType()].Invoke(this, function, arguments, environment); return result; }
private void PrettyPrintSub(FunctionNode node) { stringWriter.Write("<primitive-function: " + node.Symbol + ">"); }
public object Apply(FunctionNode function, IList<object> arguments) { return Apply(function, arguments, evaluator.GlobalEnvironment); }