/** * Create a "sandbox" environment: the symbols defined in the * environment don't provide any way for lisp programs to execute * arbitrary code. */ public static LexicalEnvironment CreateSandbox() { var env = LexicalEnvironment.Create(); env = CoreForms.AddTo(env); env = Builtins.AddTo(env); return(env); }
/** * Create a "sandbox" environment: the symbols defined in the * environment don't provide any way for lisp programs to execute * arbitrary code. */ public static Environment CreateSandbox() { var env = new Environment(EmptyEnvironment.Instance); env = CoreForms.AddTo(env); env = Builtins.AddTo(env); return(env); }