Samiksha Jaiswal (Editor)

Semantic analysis (compilers)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Semantic analysis (compilers) imgc4learncom201204SematicAnalyzerinCompil

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 describe in Extended Backus–Naur Form and thus not easily detected during parsing.

References

Semantic analysis (compilers) Wikipedia