7

I am trying to write a source file for DrRacket that specifies one of the languages from How to Design Programs Teaching Languages (see the Racket documentation). I know I can select such a language in the DrRacket menu, but I would like to specify it using a #lang directive and have DrRacket recognize the language automatically.

I cannot find any documentation about the strings that I need to use instead of racket in the initial line

#lang racket

Where can I find the documentation on this? Or can these languages only be selected from DrRacket's menu?

soegaard
  • 30,661
  • 4
  • 57
  • 106
Giorgio
  • 5,023
  • 6
  • 41
  • 71

1 Answers1

10

You should be able to use

#lang htdp/bsl

(or htdp/bsl+, htdp/isl, htdp/isl+, or htdp/asl) but it's "not in a complete shape, yet".

Community
  • 1
  • 1
C. K. Young
  • 219,335
  • 46
  • 382
  • 435
  • Thanks, `#lang htdp/bsl` seems to work (+1), even though DrRacket displays the name of the language as "htdp/bsl" instead of "Beginning Student". – Giorgio Aug 18 '13 at 23:25
  • 1
    @Giorgio Well, that's part of what's meant by "not in a complete shape". ;-) – C. K. Young Aug 18 '13 at 23:25
  • Ok, but otherwise it should work (I should be able to do my homework, I hope ;-) ). – Giorgio Aug 18 '13 at 23:27
  • Using this runs an animated Big Bang program noticeably faster than running the same program with Beginning Student selected through the menu. – Greg Graham May 30 '17 at 01:17