【发布时间】:2015-01-20 13:43:44
【问题描述】:
我知道如何在 Eclipse 中运行流氓代码以及如何使用 REPL,但我不知道如何从命令行将流氓文件(或流氓文件组)作为程序运行。
当我尝试以下操作时,出现解析错误:
$ java -Xmx1G -Xss32m -jar rascal-shell-stable.jar mymodule.rsc
Version: 0.7.2.201501130937
Parse error in cwd:///mymodule.rsc from <1,11> to <1,12>
mymodule.rsc的内容:
module mymodule
println("hello world");
我做错了什么?
【问题讨论】:
标签: command-line rascal