public object transform(TxtLocation loc, SpecialForm m, object source) { try { return m.m(source); } catch (Exception e) { throw new InterpreterException(loc, "exception occured in special form: " + m.m.Method.Name, e); } }
public void AddMacro(Symbol sym, SpecialForm.Macro m) { definitions.Add(sym, new SpecialForm(m)); }