Selecting student language in Racket source code
Asked Answered
A

1

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?

Aspia answered 18/8, 2013 at 20:17 Comment(0)
R
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".

Ree answered 18/8, 2013 at 21:15 Comment(4)
Thanks, #lang htdp/bsl seems to work (+1), even though DrRacket displays the name of the language as "htdp/bsl" instead of "Beginning Student".Aspia
@Aspia Well, that's part of what's meant by "not in a complete shape". ;-)Ree
Ok, but otherwise it should work (I should be able to do my homework, I hope ;-) ).Aspia
Using this runs an animated Big Bang program noticeably faster than running the same program with Beginning Student selected through the menu.Kickapoo

© 2022 - 2024 — McMap. All rights reserved.