Re: [racket] testing student programs

2010-10-16 Thread Eli Barzilay
40 minutes ago, Todd O'Bryan wrote: > I know this has come up on the list before, and I've reread those > threads but am little confused. > [...] > It seems like if I use make-module-evaluator, For student languages it might be better to use `make-evaluator'. (With `make-module-evaluator' you sho

Re: [racket] testing student programs

2010-10-16 Thread Nadeem Abdul Hamid
I don't think it should be that difficult once you get an evaluator set up. I've done something like what you want, taking some ideas from the handin server code. What I came up with (no fancy macros) is you define a test specification for an assignment like this (in a #lang racket file):

[racket] testing student programs

2010-10-16 Thread Todd O'Bryan
I know this has come up on the list before, and I've reread those threads but am little confused. Here's a sample student program file: -- ; volume-of-solid: number number number -> number ; given the length, w