This note easily records myself for the compiler, if any wrong or questions can comment.
A compiler's work what it does is just like transpiling the source code, which may be written in C++
or Java
, to the target machine code, which may looks like this MOV ax, 2
or c7 00 0000 0002
. At first glance, what the compiler do is not very complicated. However, under the hood, the compiler need to do much work:
Scanner