answersLogoWhite

0


Best Answer

If in the market research context, Syntax is normally the set of commands written while using database softwares like SPSS, Quantum Etc to generate tables In computer science, especially in the subfield of programming languages, the syntax of a computer language is the set of allowed reserved words and possible token order in a program. The syntax of a programming language is the set of rules that a sequence of characters in a source code file must follow to be considered a conforming program in that language.

The rules specify how the character sequences are to be chunked into tokens (the lexical grammar), the permissible sequences of these tokens and some of the meaning to be attributed to these permissible token sequences (additional meaning is assigned by the semantics of the language).

The syntactic analysis of source code usually entails the transformation of the linear sequence of tokens into a hierarchical syntax tree (abstract syntax trees are one convenient form of syntax tree). This process is called parsing, as it is in syntactic analysis in linguistics. Tools have been written that automatically generate parsers from a specification of a language grammar written in Backus-Naur form, e.g., Yacc (yet another compiler compiler).

The syntax of computer languages is often at level-2 (ie, a context-free grammar) in the Chomsky hierarchy. As such the possible ordering of tokens is usually very restricted. The analysis of a program's syntax is usually performed using an automatically generated program known as a parser which often builds an abstract syntax tree.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Syntax refers to the structure and rules (grammar) of a programming language.

Semantics refer to the meaning of a statement.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is syntax in computing?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a Backus-Naur form?

A Backus-Naur form is a formal notation for context-free grammars in computing, often used to describe the syntax of different computing languages.


How do you prevent syntax in programming?

Not possible; syntax cannot be avoided. (Syntax errors can be though.)


Are HTML tags and syntax the same?

No. Syntax is/are the rules of the language, tags are part of the syntax.


How syntax affect setting?

Syntax is essential to any form of language. Without syntax, there is no setting, there is no way to explain it and no language. Language and setting are both comprised with syntax.


How does syntax affect setting?

Syntax is essential to any form of language. Without syntax, there is no setting, there is no way to explain it and no language. Language and setting are both comprised with syntax.


What are some antonyms of syntax?

There are no antonyms of syntax. It's a noun.


When was Doctor Syntax created?

Doctor Syntax was created in 2000.


What is the best and new statistical software?

It's hard to say which software is best. Because of that users' requirements are different. And each software has its advantages and disadvantages. For instance, Excel is a very widely used tool but not great enough to deal with complex computing. R is a good opensource, it has the elegant and agile mechanics of syntax and the open interface for secondary development. But it lacks of friendly UI and requires strong technical background to use it well. Just list a few. For new statistical software, I should say esProc and esCalc. These two software is script for statistical computing and analytics. It's very easy to use and can do complex computing with step by step mode. Its syntax is agile and has cell-style interface.


What is the syntax of a programming language and what are the primary goals of syntax analysis?

Well, syntax is the fancy name for programming code. Without syntax, you wouldn't really have a program. It's good to analyze syntax as you are making sure that it is correct. If it isn't correct, then it won't work.


Any violation in the syntax of a program statement is called logic error?

No. A violation in the syntax of a program statement is called a syntax error.


What has the author Nancy Stern written?

Nancy Stern has written: 'Getting Started with DOS' 'Computing concepts for end users' -- subject(s): End-user computing 'Candace' 'Arnold' 'Test Bank to Accompany Computing' 'Concepts, Fundamentals 2.14 and Enable Edition Version 3.5 Inch' 'Computing With End User Applications & Getting Started With dBASE III Plus' 'Stern Structured COBOL Programming Seventh Edition and Wiley Syntax Reference Guide Second Edition and Stern Getting Started with Ryan McFarland Dual Med Set' 'Getting Started With Rm-Cobol-85, 5.25' 'Computing' 'End-User Applications' 'Beamer'


Internal Command with syntax?

Internal ms-dos commands with syntax