编译程序定向 Directive (programming)
在计算机科学中,一个编译程序定向是由程序师嵌入于原始代码的数据,以告知编译器当如何编译,其他原始代码则告知编译器应当编译什么。
单词 | Compiler directive |
释义 |
Compiler directive
中文百科
编译程序定向 Directive (programming)(重定向自Compiler directive)
在计算机科学中,一个编译程序定向是由程序师嵌入于原始代码的数据,以告知编译器当如何编译,其他原始代码则告知编译器应当编译什么。
英语百科
Directive (programming) 编译程式定向(重定向自Compiler directive)
In computer programming, a directive pragma (from "pragmatic") is a language construct that specifies how a compiler (or assembler or interpreter) should process its input. Directives are not part of the language proper – they are not part of the grammar, and may vary from compiler to compiler – but instead function either as an in-band form of a command-line option, specifying compiler behavior, or are processed by a preprocessor. In some cases directives specify global behavior, while in other cases they only affect a local section, such as a block of programming code. In some cases, such as some C pragmas, directives are optional compiler hints, and may be ignored, but normally they are prescriptive, and must be followed. However, a directive does not perform any action in the language itself, but rather only a change in the behavior of the compiler. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。