示例#1
0
 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);
     }
 }
示例#2
0
 public void AddMacro(Symbol sym, SpecialForm.Macro m)
 {
     definitions.Add(sym, new SpecialForm(m));
 }