在 Racket 源代码中选择学生语言 [英] Selecting student language in Racket source code
问题描述
我正在尝试为 DrRacket 编写一个源文件,该文件指定了如何设计程序教学语言中的一种语言(请参阅Racket 文档).我知道我可以在 DrRacket 菜单中选择这样一种语言,但我想使用 #lang
指令指定它并让 DrRacket 自动识别该语言.
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.
我在初始行中找不到任何关于我需要使用的字符串而不是 racket
的文档
I cannot find any documentation about the strings that I need to use instead of racket
in the initial line
#lang racket
在哪里可以找到相关文档?还是只能从 DrRacket 的菜单中选择这些语言?
Where can I find the documentation on this? Or can these languages only be selected from DrRacket's menu?
推荐答案
你应该可以使用
#lang htdp/bsl
(或 htdp/bsl+
、htdp/isl
、htdp/isl+
或 htdp/asl
)但它还没有完全成型".
(or htdp/bsl+
, htdp/isl
, htdp/isl+
, or htdp/asl
) but it's "not in a complete shape, yet".
这篇关于在 Racket 源代码中选择学生语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!