Syntax Analysis Article Index for
Syntax
Website Links For
Syntax
 

Information About

Syntax Analysis




Syntax analysis is a process in Compiler s that recognizes the structure of Programming Language s. It is also known as Parsing . After Lexical Analysis , it is much easier to write and use a parser, as the language is far simpler.

Context-free Grammar is usually used for describing the structure of languages and BNF notation is typical to define that grammar. Grammatical Token s include numerical constants and Literal String s and control structures such as assignments, conditions and loops.

Program s or code that do parsing are called Parser s. Yacc (''yet another compiler compiler'') is a program that generates parsers in the C Programming Language .


SEE ALSO