>> I think, something like (thread (load "path/to/program.rkt"))

> This doesn't work unless program.rkt is written in #lang racket/load
> which is unsuitable for large applications.

Perhaps use racket/sandbox?

http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html

`make-module-evalutor` can take a `path?` to the .rkt file.

If you want a more permissive sandbox, you can set many of the
parameters individually to be permissive, or you can use
`call-with-trusted-sandbox-configuration` for convenience.
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to