Semantic analysis (compilers)

This is an old revision of this page, as edited by Maggyero (talk | contribs) at 18:15, 9 September 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Semantic analysis or 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 describe in the extended Backus–Naur form and thus not easily detected during parsing.

See also