Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
user> (ns net.licenser.sandbox)
nil
net.licenser.sandbox> (enable-security-manager)
nil
net.licenser.sandbox> (def sc (create-sandbox-compiler))
#'net.licenser.sandbox/sc
net.licenser.sandbox> ((sc "(+ 2 2)") {})
; Evaluation aborted.
net.licenser.sandbox> ((sc "2") {})
2
net.licenser.sandbox> ((sc "(- 2 2)") {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.