Encyclopedia > Syntax analysis

  Article Content

Syntax analysis

Syntax analysis is a process on compilers that recognizes the structure of programming languages. It is also known as parsing.

Context-free grammar is usually used for describing the structure of languages and BNF notation is typical to define that grammar. Among tokens include numericals constants and literal string (both called non-terminals) and control structure such as assignments, conditions and loops.

Programs or code that do parsing are called called paser. yacc is an automatic parser generator.


See also: compiler, lexical analysis, programming language



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
North Haven, New York

... 2.20 and the average family size is 2.77. In the village the population is spread out with 17.4% under the age of 18, 3.5% from 18 to 24, 22.3% from 25 to 44, 28.7% from ...

 
 
 
This page was created in 36.1 ms