45 scheme/sandbox
The scheme/sandbox library re-exports racket/sandbox, except that
sandbox-namespace-specs, make-evaluator, and
make-module-evaluator are replaced.
| ||||||||
(sandbox-namespace-specs spec) → void? | ||||||||
|
Like sandbox-namespace-specs from
racket/sandbox, but the default is (list make-base-namespace) if gui? is #f, (list make-gui-namespace) if gui? is #t.
| ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
input-program : any/c | ||||||||||||||||||||||||||||
requires : (listof (or/c module-path? path?)) | ||||||||||||||||||||||||||||
allow : (listof (or/c module-path? path?)) | ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
module-decl : (or/c syntax? pair?) | ||||||||||||||||||||||||||||
lang : (or/c #f module-path?) | ||||||||||||||||||||||||||||
allow : (listof (or/c module-path? path?)) |
Like make-evaluator and make-module-evaluator from
racket/sandbox, but the value of the
sandbox-namespace-specs parameter is installed as the
value of sandbox-namespace-specs from
racket/sandbox before chaining to make-evaluator
and make-module-evaluator from racket/sandbox.