The term syntax is also sometimes used to refer to the rules governing the behavior of mathematical systems , such as logic , artificial formal languages , and computer programming languages .

The term syntax can also be used to refer to these rules themselves , as in `` the syntax of a language '' .
