How is semantic analysis performed by the compiler (usually)?
I had to answer this question during my last exam, this is not enough for a professor.
In my answer, I included BNF (with an example) and syntax cards, to which he asked me: "What happens when the compiler finds an operator like int i;?"
int i;
Time to carefully read the book of Aho and Ulman / Dragon.
- , , . , ,
"abc" * MyClass
, . , . ; "abc" - , 12.2e-5.
, , , / ( ).
: , , ( ), ( "" ) / . -, , , , .