We use Clojure data structure literals as both intermediate representation for communication, and for storage. 我们将Clojure数据结构用作通信和存储的中间表示。
Through a compilation process, this high-level code is compiled into an intermediate representation called object code. 通过一个编译过程,该高级代码被编译成一个名为对象代码的中间表示。
Before talking about the new intermediate representation, how does the compiler currently do its work without the IR? InfoQ采访了Subbu,希望了解新的IR是什么样的,它将为JRuby带来什么好处。在讨论新的中间表示前,编译器目前是如何在没有IR的情况下工作的?
The front end of a compiler is language specific and includes a parser for the given language that results in parsed trees and the intermediate representation ( the Register Transfer Language, or RTL ). 编译器的前端是特定于语言的,它包括一个用于给定语言的解析器,这个解析器产生经过解析的树和中间表示(RegisterTransferLanguage,RTL)。
For example, the output of all our data transformation jobs are Clojure data structure literals, and the intermediate representation in all our Hadoop jobs are as well. 例如,我们所有数据转换工作的输出都是Clojure数据结构形式,这种中间表示遍布于我们所有的Hadoop工作中。