I don't understand the purposes of all the this, pointer, that etc keywords

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

I don't understand the purposes of all the this, pointer, that etc keywords

burge91
Can someone explain the purpose of these and the others so that I can finish this chapter without too much stress?
Reply | Threaded
Open this post in threaded view
|

Re: I don't understand the purposes of all the this, pointer, that etc keywords

WBahn
Administrator
Need a bit more info about what the confusion is.

Is it the notion of what the concept of keywords means, in general, with respect to writing a compiler?

Or is it the specific meaning of specific key words?

If you are working on Chapter 11, that means that you should have already completed Chapter 10. The keywords are, well, the key to writing the parser that is the focus of that chapter. So did you get the parser working and understand how it works?

While I see a 'this' keyword in the Jack syntax, I don't see a 'pointer' or a 'that' keyword. It's been a long time since I've really delved into this, so I could be missing it.

Are you talking about confusion of when to use the different memory segments in the VM code that your compiler needs to generate?