compiling program
英 /kəmˈpaɪlɪŋ ˈprəʊɡræm/美 /kəmˈpaɪlɪŋ ˈproʊɡræm/
n. 名词
编译程序;编译器
词义解析
本义指一种计算机程序,其功能是读取用高级编程语言(如C、Java)编写的源代码,进行语法分析、语义分析、优化,并生成等效的机器代码或字节码。引申义可指任何将一种形式化语言转换为另一种语言或代码的工具或过程,例如将设计文档转换为可执行代码的代码生成器。在中文语境中,“编译程序”通常与“编译器”互换使用,但严格来说,“编译程序”更强调整个编译过程的软件实现,而“编译器”则指具体的工具。
词根溯源
“compile”源自拉丁语“com-”(共同)和“pilare”(堆积),原意为“聚集在一起”,16世纪进入英语后指“汇集材料成书”,20世纪50年代计算机领域借用表示“将源代码翻译成机器码”。“program”源自古希腊语“pro-”(预先)和“graphein”(写),意为“预先写下的说明”。“compiling program”作为复合名词,直译为“进行编译的程序”,强调其功能性。记忆时可联想“把散乱的代码堆积成可运行的程序”。
适用语境
主要用于计算机科学领域的学术写作、技术文档和编程实践中。在学术论文中,指代编译器的具体实现,语气正式且精确;在技术博客或开发者讨论中,常与“compiler”混用,语气较为随意;在日常口语中较少出现,若出现则多指代“编译器”本身。在法律或商务文本中几乎不使用,除非涉及软件专利或合同,此时语气正式且强调其技术属性。
语法说明
作为名词,可数,复数形式为“compiling programs”。通常用作主语或宾语,如“A compiling program translates source code.”。常见句型包括“compiling program for + 语言”和“compiling program written in + 语言”。易错点:不要与动词短语“compiling a program”(意为“编译一个程序”)混淆,后者中“compiling”是动名词,而“compiling program”整体是名词短语。在正式写作中,常使用“compiler”代替,以避免歧义。
相似词辨析
与“compiler”完全同义,但“compiler”更常用、更简洁。“translator”是更广义的术语,包括编译器和解释器(interpreter),但编译器只处理静态转换,而解释器是逐行执行。“assembler”特指将汇编语言转换为机器码的程序,比编译器更底层。“cross-compiler”指在一种平台上编译另一种平台代码的编译器。如果强调编译过程,用“compiling program”;若强调工具本身,用“compiler”更自然。
使用注意
该词属于计算机专业术语,语域较高,在技术文档中常见,但在日常交流中较少使用,通常用“compiler”替代。没有褒贬色彩。常见误用包括:将其与“compiled program”(已编译的程序,即编译后生成的可执行文件)混淆;或误以为“compiling program”是“正在编译的程序”,实际上它指“用于编译的程序”。在非技术语境中,应避免使用,以免造成理解障碍。
高频搭配
- compiling program for
- write a compiling program
- run a compiling program
- compiling program error
- compiling program design
- compiling program source code
- compiling program optimization
双语例句
- The compiling program detected several syntax errors in the source code.编译程序在源代码中检测到多处语法错误。
- A good compiling program should optimize the generated machine code for better performance.一个好的编译程序应该优化生成的机器码以提高性能。
- The compiling program for C++ is often integrated into an IDE.用于C++的编译程序通常集成在集成开发环境中。
- Developers rely on compiling programs to convert high-level language into executable files.开发者依靠编译程序将高级语言转换为可执行文件。
- The paper describes the design of a compiling program for a new programming language.这篇论文描述了一种新编程语言的编译程序设计。