【发布时间】:2013-01-17 05:50:29
【问题描述】:
我想为以下代码制作一个可执行文件。 这是用 Dr.racket 编写的方案。 这将如何完成? 如果它可以是独立的,并且我可以在 iOS 和 Windows 上打开它,那将是最好的。 非常感谢您的宝贵时间!
#lang racket
(require racket/gui/base)
(require compiler/embed)
; Make a frame by instantiating the frame% class
(define frame (new frame% [label "GUI"]
[width 200]
[height 200]))
; Make a static text message in the frame
(define msg (new message% [parent frame]
[label "This box is empty"]))
; Show the frame by calling its show method
(send frame show #t)
【问题讨论】:
-
您已经看过以下内容了吗? docs.racket-lang.org/drracket/create-exe.html
-
我现在已经读过这篇文章,这很有意义。非常感谢!
标签: compilation scheme executable racket