Jump to content

Semantic analysis (compilers)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bearcat (talk | contribs) at 21:45, 19 January 2015 (categorization/tagging using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Theory

Attribute grammar

implementation

See also

context sensitive language Compiler