pragma

[计] 编译指示; 杂注

发音

其它 /ˈpɹæɡmə/

词形变化

pragmas 复数 pragmas pragmata 复数

释义与例句

n.
  1. 1.

    A compiler directive; data embedded in source code by programmers to indicate some intention to a compiler.

    计算机 工程 数学

    This pragma stops the compiler from generating those warnings we don't care about.

  2. 2.

    In early versions of HTTP, a general header that specifies some implementation-specific directive, to any recipient, and may specify that the HTTP response should not be cached.

  3. 3.

    A practical thing or action, as opposed to theory or belief (dogma).

词源

From Ancient Greek πρᾶγμα (prâgma, “a thing done, a fact”). In the technical senses perhaps a back-formation from pragmatic or a clipping of pragmat used earlier in ALGOL.

来源:wiktionary