Example #1
0
 override public object Apply(Symbol id)
 {
     if (this.bindings.ContainsKey(id))
     {
         return(bindings[id]);
     }
     else
     {
         return(env.Apply(id));
     }
 }
Example #2
0
 public override object Eval(Env env)
 {
     // Debug.WriteLine("Eval->Var: " + id);
     return env.Apply(id);
 }
Example #3
0
 public override object Eval(Env env)
 {
     // Debug.WriteLine("Eval->Var: " + id);
     return(env.Apply(id));
 }