Semantic analysis (compilers)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Semantic analysis, also context sensitive analysis, is a process in compiler construction, usually after parsing, to gather necessary semantic information from the source code. It usually includes type checking, or makes sure a variable is declared before use which is impossible to detect in parsing.

Implementation[edit]

See also[edit]