Operator (data-processing)
The Computer programming languages generally have a unit operators who are similar to the operators in mathematics: they are to some extent functions special. It can carry out arithmetic, Boolean operations or act on Character strings. Contrary to the functions, the operators often provide the primitive operations language. Their name consists of characters symbols or punctuation. The terminology varies nevertheless language in language.
operators that are similar to operators in mathematics cuts: they special are somehow functions. In addition to arithmetic operations they often perform boolean been worth operations one truth and string operations one strings off text. Relational operator S are used to test two been worth, such ace Equality yew yew one been worth is greater than another. Unlike functions, operators often provide the primitive operations off the language, to their name consists off punctuation rather than alphanumeric characters, and they cuts special infix syntax and irregular parameter passing conventions. Exact The terminology, however, vary from language to language. -->En data-processing, the use of the word operator goes qu of common arithmetic operators. The Language C, for example, supports also operators like &, ++ and sizeof. Operators like sizeof, are alphanumeric rather than of the characters symbols or punctuation. They are called sometimes named operators . The operators out of C are primitive operations of the language that the compiler can transpose relatively directly in instructions of the microprocessor.
In languages like Haskell and Prolog, the operators are purely syntactic Sugar. One can use any combination of symbols and characters of punctuation as operator, and one can define the Précédence and the Associativité over such an operator. Haskell only makes it possible to define new binary operators whereas Prolog allows to define operators who are binary or unary and who can be prefixed, infix or postfixés. In Haskell, one can define and apply an operator as a function and reciprocally by the use of brackets and backquotes.
In certain computer programming languages such as PostScript, the use of the word operator has a more precise significance. An operator is an achievable element on the pile. As the operators are always written in a way postfixée as in all language which uses the Polish Notation reverses, the use of brackets is useless.
Source
| Random links: | Pupe | War of position | Eduardo Santamarina | Lost hearts | Karin Knorr Cetina | Itinéraire_New_Hampshire_87 |