【发布时间】:2017-09-14 03:51:23
【问题描述】:
我从http://www.rebol.com/downloads.html 下载了 Rebol/View (vesion 2.7.8) Linux x86 libc6 2.3 版本,它在 Linux (Debian Stable 9) 上作为解释器运行良好。是否可以将代码编译为可执行文件?我尝试检查选项,编译为可执行选项似乎不存在:
$ rebol -v --help
The command line usage is:
REBOL <options> <script> <arguments>
All fields are optional. Supported options are:
--cgi (-c) Check for CGI input
--do expr Evaluate expression
--link url Connect to Link
--help (-?) Display this usage information
--nowindow (-w) Do not open a window
--noinstall (-i) Do not install (Link, View)
--quiet (-q) Don't print banners
--reinstall (+i) Force an install (Link, View)
--script file Explicitly specify script
--secure level Set security: allow ask throw quit
--trace (-t) Enable trace mode
--uninstall (-u) Uninstall REBOL (Link, View)
--version tuple Minimum version of script, when URL (View)
--noviewtop (-v) Do not start viewtop (view desktop)
Special command line options:
+q Force not quiet (Link, View)
-s No security
+s Full security
-- args Provide args without a script
Examples:
REBOL script.r
REBOL -s script.r
REBOL script.r 10:30 test@domain.dom
REBOL --do "verbose: true" script.r
REBOL -cswq
REBOL --cgi --secure throw --script cgi.r "debug: true"
REBOL --version 1.2.3 http://www.rebol.net/test.r ; view only
我可以在 Linux/Windows 上将 Rebol 代码编译为可执行代码吗?感谢您的帮助。
【问题讨论】:
标签: compilation rebol