Exemplo n.º 1
0
 public static void Extend(Symbol sym, Object val)
 {
     if (!sym.IsDynamic)
         throw new LispException("Dynamic vars must have prefix *");
     denv = new DynamicEnvironment(sym, val, denv);
 }
Exemplo n.º 2
0
 //.........................................................................
 public static void Restore(DynamicEnvironment olddenv)
 {
     denv = olddenv;
 }
Exemplo n.º 3
0
 //.........................................................................
 protected DynamicEnvironment(Symbol sym, Object val, DynamicEnvironment next)
 {
     InnerSymbol = sym;
     InnerValue = val;
     InnerNext = next;
 }