Created
June 9, 2017 20:10
-
-
Save greghendershott/62e44c6ac99b6e1de0b17905a40e592f to your computer and use it in GitHub Desktop.
This file contains 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
modified index.rkt | |
@@ -12,12 +12,14 @@ | |
(for-label racket/syntax)) | |
@(define evaluator | |
(parameterize ([sandbox-output 'string] | |
- [sandbox-error-output 'string]) | |
+ [sandbox-error-output 'string] | |
+ [sandbox-memory-limit 100]) | |
(make-evaluator 'racket))) | |
@(define typed/evaluator | |
(parameterize ([sandbox-output 'string] | |
- [sandbox-error-output 'string]) | |
+ [sandbox-error-output 'string] | |
+ [sandbox-memory-limit 100]) | |
(make-evaluator 'typed/racket))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment