Re: [racket-users] Using scribble to print BSL output

2016-02-10 Thread Suzanne Menzel
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)) >

[racket-users] Using scribble to print BSL output

2016-02-08 Thread Suzanne Menzel
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))

Re: [racket] handin-server and image? conflict with 2htdp/image and lang/htdp-beginner

2015-02-12 Thread Suzanne Menzel
> ) > > 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

[racket] handin-server and image? conflict with 2htdp/image and lang/htdp-beginner

2015-02-10 Thread Suzanne Menzel
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

[racket] misleading error message about check-satisfied

2015-01-29 Thread Suzanne Menzel
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

[racket] Embedded web server in handin-server: Illegal file access

2015-01-23 Thread Suzanne Menzel
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

Re: [racket] Writing checkers for handin-server

2015-01-07 Thread Suzanne Menzel
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

[racket] Writing checkers for handin-server

2015-01-06 Thread Suzanne Menzel
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