コード例 #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);
 }
コード例 #2
0
 //.........................................................................
 public static void Restore(DynamicEnvironment olddenv)
 {
     denv = olddenv;
 }
コード例 #3
0
 //.........................................................................
 protected DynamicEnvironment(Symbol sym, Object val, DynamicEnvironment next)
 {
     InnerSymbol = sym;
     InnerValue = val;
     InnerNext = next;
 }