in Compiler Design
1,266 views
0 votes
0 votes
When exactly is type checking done during compilation phase ?? Some resources are saying there r during semantic analysis phase while other r saying there r done syntax analysis phase  !!

My question is if they are done in tandem with syntax analysis phase  !!!
in Compiler Design
by
1.3k views

3 Comments

which one you are thinking is correct, and why you supporting it ?
0
0
I have seen it in dragon book type checking is performed in semantic analysis phase.

Please correct me if I'm wrong  !
0
0
yes, it is comes under semantic analysis phase only.
0
0

Please log in or register to answer this question.