Syntax_analysis Syntax_analysis

Syntax analysis - Definition and Overview

Related Words: Accounting, Algebra, Alteration, Anatomy, Arithmetic, Arrangement, Assay, Atomization, Audit, Braking, Breakdown

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. Grammatical tokens include numerical constants and literal strings and control structures such as assignments, conditions and loops.

Programs or code that do parsing are called called parsers. Yacc (yet another compiler compiler) is a program that generates parsers in the C programming language.

See also: lexical analysis

Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.