red to add
> a `make-` prefix for printing structure instances. To fix that, after
>
>(call-in-sandbox-context me (lambda () (namespace-require module-lang)))
>
> add
>
>(me '(require mzlib/pconvert))
>(me '(add-make-prefix-to-constructor #t))
>
Prior to v6.3, I was able to create a BSL evaluator with the following set up:
@(define-syntax-rule
(*sl-eval module-lang reader def ...)
;; ===>>>
(let ()
(define me (make-base-eval))
> )
>
> Longer term, I think that the `racket/sandbox` as used by `check:`
> should allow require specs, instead of just module paths.
>
> At Tue, 10 Feb 2015 23:42:51 -0500, Suzanne Menzel wrote:
>> Hello,
>>
>> I’m having trouble getting the han
Hello,
I’m having trouble getting the handin server to accept a BSL file that uses the
image library and also includes template definitions. I can make it work
separately. That is, I can accept BSL image program files as long as they don’t
have any templates and I can accept BSL programs with t
Hello,
A student wrote the following two line program in BSL:
(require 2htdp/image)
(check-satisfied (rectangle 10 "solid" "black") image?)
When Run, the messages are:
check-satisfied: expects function of one argument in second position. Given
image?
The test passed!
The actual er
Hello,
I’m running the embedded web server for handin-server. It is not allowing
access to the submitted files. The links are present, but clicking on any one
directs to an Error page with the message “Illegal file access”. Here are the
entries in the web log:
50.240.134.234 - - [23/Jan/2015:1
Thank you, Matthew. You’ve been very helpful.
Do you use the embedded web server? If so, could you explain how to activate
the Solution link for an assignment? In particular, I tried putting a
solution-a1.rkt file in the a1 directory for assignment a1, as described in
http://pkg-build.racket-la
I’m trying to set up the handin-server to use in my class this semester and
I’ve run into a few problems that I hope someone can help with.
I’ve got the server up and running and the Handin button appears in DrRacket. I
currently have only one assignment, called a1. Everything works fine when
s
8 matches
Mail list logo