“源(代码/源数据)转换;源到源转换”。指把源形式(如源代码、源文件、原始数据)按照规则改写为另一种等价或目标形式,常见于编译器优化(source-to-source transformation)、代码重构、数据清洗与格式转换等场景。(在不同领域也可泛指“对原始输入进行结构性改写”。)
/sɔːrs ˌtrænsfərˈmeɪʃən/
The tool performs source transformation to make the code easier to maintain.
该工具进行源代码转换,使代码更易维护。
Through source transformation, the compiler rewrites loops and inlines functions to improve performance without changing the program’s behavior.
通过源(代码)转换,编译器会重写循环并内联函数,在不改变程序行为的前提下提升性能。
source 源自古法语 source,与“涌出、起源”相关,后来引申为“来源、源头”,在计算机语境中进一步专指“源代码/源数据”。transformation 来自拉丁语 transformare(*trans-*“跨越/改变” + formare“成形”),意为“改变形态”。合起来即“把源形式改写成另一种形式”。