Created
March 15, 2010 09:50
-
-
Save Licenser/332673 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use 'net.licenser.sandbox) | |
(enable-security-manager) | |
(def sc (create-sandbox-compiler)) | |
(def my-really-secure-add (sc "(+ a b)" a b)) | |
(my-really-secure-add {} 23 19) ;=> 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment