[racket] student languages: getting started?
Well, I had tried that and the problem was, as I mentioned in my previous message, that "nor is there an htdp section in the `choose language...' dialog".
Now I tried on another machine, and yes, there is such an htdp section. And the stepper works as expected.
But I don't remember having explicitly uninstalled htdp on my machine. And also, yesterday I reinstalled (getting the latest .dmg) and the same happened.
- how come this disappeared?
- how can I get it back?
Thanks,
-- Éric
On May 20, 2014, at 10:42 AM, Robby Findler <robby at eecs.northwestern.edu> wrote:
> I think the instructions in HtDP are wrong. You could choose "Choose
> Language" and then click on "Beginning Student Language" in the
> resulting dialog.
>
> Robby
>
> On Tue, May 20, 2014 at 9:24 AM, Éric Tanter <etanter at dcc.uchile.cl> wrote:
>> 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
>>
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>