Directive (programming): Difference between revisions

Content deleted Content added
m Added C# reference and fixed grammar
Adding local short description: "Language construct that specifies how a compiler should process its input", overriding Wikidata description "command" (Shortdesc helper)
Line 1:
{{short description|Language construct that specifies how a compiler should process its input}}
In [[computer programming]], a '''directive''' or '''pragma''' (from "pragmatic") is a [[language construct]] that specifies how a [[compiler]] (or other [[Translator (computing)|translator]]) should process its input. Directives are not part of the [[Formal grammar|grammar]] of a [[programming language]], and may vary from compiler to compiler. They can be processed by a [[preprocessor]] to specify compiler behavior, or function as a form of [[In-band signaling|in-band]] parameterization.