eval-soup.core
(with-security & body)
Convenience macro that wraps the body with wrap-security
and then immediately executes it.
(wrap-security thunk)
Returns a function that wraps the given function in a sandbox.
It uses eval_soup/java.policy to define permissions. By default,
it only disallows exiting via System/exit.
(wrap-timeout thunk timeout)
Returns a function that wraps the given function in a timeout checker.
The timeout is specified in milliseconds. If the timeout is reached,
an exceptino will be thrown.