Compiling Red: Get Red/System Code

会有一股神秘感。 提交于 2019-12-11 00:01:40

问题


The video about Red and Red/System shows the compilation process in which Red is compiled to Red/System.

Youtube: https://youtu.be/-KqNO_sDqm4?t=27m12s

I know how to compile Red code with the -c option. Is there a way to output the Red/System code that is created during the compilation process?


回答1:


The README mentions --red-only, and says:

"Stop just after Red-level compilation. Use higher verbose level to see compiler output. (internal debugging purpose)"

According to @jck this also requires -c for compiling and verbosity level 1:

./red -c --red-only -v 1


来源:https://stackoverflow.com/questions/33777626/compiling-red-get-red-system-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!