public static Environment Create() { var env = CreateSandbox(); // Adding reflection builtins enables a lisp engine // to execute any code. env = ReflectionBuiltins.AddTo(env); return(env); }
public static LexicalEnvironment Create() { var env = CreateSandbox(); // Adding reflection builtins enables a lisp engine // to execute any code. env = ReflectionBuiltins.AddTo(env); // Add functions for reading files, executing lisp programs // defined in files. ResourceLoader.ExecuteResource(new Statistics(), typeof(StandardEnvironment).GetTypeInfo().Assembly, env, "LispEngine.Bootstrap.IO.lisp"); return(env); }