Compiling Red: Get Red/System Code

2019-07-14 02:41发布

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条回答
\"骚年 ilove
2楼-- · 2019-07-14 03:27

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
查看更多
登录 后发表回答