13 Sandboxed Evaluation
(require (planet cce/scheme:7:3/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 (introduced in PLT 4.1.3.6).
In older versions of PLT Scheme, they simulate the trusted configuration as
closely as possible.
| |||||||||||||||||||||||||||||||
|
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.