Syntax in Programming Language
Syntax includes the modification of words by time (past, present or future), number (singular or plural) and context, to make sentences. Thus, the syntax of an "all inclusive" grammar of a language to be taught to speak and write correctly. Examples of the grammar of the syntax of the language is English, German grammar and sentence construction standards in all major languages.
Many times you must have heard of using “Syntax” right on literature and language programming, which can make you wonder what this is about. It is a concept that is deeply related to the structure of all languages, including languages spoken, and programming languages. The aim of this article is to explain what is the syntax, in both contexts mentioned.
A language is a way to convey thoughts and feelings. We describe and analyze the world around us through words, but words are only one language. Each of the languages spoken on Earth, including the English language as spoken in the form of sentences, which are strings of words put together to create a meaningful description of reality. No one knows exactly how the language has been created, but was larger, it became necessary to standardize them, which was achieved by creating a common syntax. See what is the syntax in the linguistic context.
What is the syntax in the literature?
Let me give a rough definition of the syntax of the production. The syntax is a set of universally recognized principles that serve as guides in the formation of prayers words in any language. Learning to put all kinds of words (also known as the eight parts of speech) to form a sentence, which gives a clear description of causality in the world is to learn the syntax. In short, the syntax is another word for “grammar”, but it is the structure of the language to a more fundamental level.
If you are familiar with the basic rules of grammar and composition in English, who are already familiar with the syntax of English. Most languages follow a syntax in which every sentence is a command that “subject – verb -. Purpose” deals with the syntax definition of the types of words or parts of speech, and the sequence organization of words in order.
Syntax includes the modification of words by time (past, present or future), number (singular or plural) and context, to make sentences. Thus, the syntax of an “all inclusive” grammar of a language to be taught to speak and write correctly. Examples of the grammar of the syntax of the language is English, German grammar and sentence construction standards in all major languages.
If you ask me what is the syntax in poetry, you should know that it is a bit different from prose. Here the rules of sentence formation is generally relaxed in the context of “poetic license.” But, the syntax of the poetry set of syntax rules that apply to parts of speech. What is more important in poetry is the “Metro”, which provides an inherent rhythm to the composition.
What is the syntax of programming languages?
In principle, the concept of syntax of spoken language and a computer programming language is similar, in principle, but it is much stricter enforcement of rules. Programming Language used to write programs to solve problems, which are then converted to a program in machine readable form called compilers or interpreters. Why does the syntax of a programming language of rules for all data variables and all transactions of variables and more.
For example, in the C programming language has specific rules for how data variables are declared as “For Loops” is written and how the matrices, and indicators used. Are you curious to know what is the syntax errors in programming, we know that this is a bug of a compiler when it encounters a line of code, which does not comply with the standard specification.
In short, syntax is understood as the “grammar” in any language. However, it is the structuring of sentences and other language constructs to a deeper level. In case of programming languages, is the proper syntax is important that the code is compiled or interpreted and executed. In both cases, keeping order in the syntax of the language and form the basis of grammar. Hopefully this article has given some idea of what is the syntax to write, and how it forms the basis for the structure of a larger language.
Liked it


-
Post CommentCHIPMUNK
On May 5, 2011 at 3:22 am
goo done well informed