[racket] student languages: getting started?

From: Éric Tanter (etanter at dcc.uchile.cl)
Date: Tue May 20 10:24:03 EDT 2014

Hi,

I'm having trouble using the base student languages from scratch (v6.0.1). 
(strangely enough, it's the first time ever I'm really interested in running these languages since the whole #lang story was introduced)

1. If I start DrRacket and try to follow the instructions online 
http://www.ccs.neu.edu/home/matthias/HtDP2e/part_prologue.html
"Start DrRacket and choose “Beginning Student Language” from the “How to Design Programs” submenu in the “Language” menu."
-> there is simply no such submenu in the language menu, nor is there an htdp section in the "choose language..." dialog

2. If I put #lang htdp/bsl then I can use bsl and run it, but the stepper does not work:
send: no such method
  method name: stepper-button-callback
  class name: ...ket/version/tool.rkt:176:9
  context...:
   /Applications/Racket/collects/racket/private/class-internal.rkt:4387:0: obj-error34
   /Applications/Racket/share/pkgs/htdp-lib/stepper/drracket-button.rkt:11:3
   /Applications/Racket/collects/racket/private/more-scheme.rkt:147:2: call-with-break-parameterization
   /Applications/Racket/collects/racket/private/more-scheme.rkt:264:2: call-with-exception-handler
   /Applications/Racket/share/pkgs/gui-lib/mred/private/wx/cocoa/window.rkt:751:4: dispatch-on-event method in window%
   /Applications/Racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:451:6
   /Applications/Racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:502:32
   /Applications/Racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:650:3

Clearly, I must be doing something wrong, because those things should work right out of the box I assume!

(I tried running raco setup, that didn't fix the issues)

Thanks,

-- Éric




Posted on the users mailing list.