Version: 5.0.1
20 Sandboxed Evaluation
(require unstable/sandbox) |
This module provides tools for sandboxed evaluation.
| |||||||||||||||||||||||||||||||
|
These procedures wrap calls to make-evaluator and
make-module-evaluator, respectively, with
call-with-trusted-sandbox-configuration.
| |||||||||||||||||||||||||||||||
|
These procedures wrap calls to make-trusted-evaluator and
make-trusted-module-evaluator, respectively, with parameterizations
setting sandbox-output and sandbox-error-output to
'string.
| ||||||||
→ (cons/c (-> namespace?) (listof module-path?)) | ||||||||
make-ns : (-> namespace?) | ||||||||
path : module-path? |
This function produces a value for the parameter
sandbox-namespace-specs such that new sandbox evaluators start with a
namespace constructed by make-ns and share a set of instances of the
modules referred to by the given paths.