JoeyWoo wrote
Thanks for your reply.
In Chapter 7 and 8, the book says two things:
1 We need an intermediate language. VM language
2 How to implement this language. Using Stack
Why The VM language is designed basing on Stack is that it can simplify everything. In fact, we can implement a language without Stack, but it would be very difficult.
Am I right?
Yes. Keep in mind that the scope of this text is so broad -- it basically spans the material taught in four to six courses -- that the authors go to some lengths to keep things very minimal. At times, that results in them saying things as though they are universal and absolute or as though it is the only way when, strictly speaking, they are merely common or typical.