The stack is "built up" in a sense, so new items are added on top of the stack. When a function returns, the stack essentially (theres a bit more to it if you want to do some research) gets rid of everything that was added on top during the function...
I am not Amitava or A lab facilitator so they may have better answers than mine but
For examples of referential locality. I would provide the examples of the activation stack and the executable code data.
Executable code will frequently be executed...
I think it's worth noting (and please correct me if you think I'm wrong), that we may have multiple clusters. For example, our code instructions will obviously often cluster particularly when sequential execution, or looping occurs.
And independent...
I am OP,
I just wanted to comment i've read the post you linked and it appears Chris said the opposite for anybody else who see's this. I have hence implemented the ability to check user inputs.
When passing the extra real optional command line arguments to the ml file. Do we have to pass them as command line arguments fully to the translated ml file when it is compiled and run.
Or can we simply write them into the the translated file as i...
Hi,
If an ml file has the expression; "3 2". or for example
function divide(a, b)
x - a b
return x
and then this is called as divide(3, 2). This will obviously be a problem when translated to C, as 3 and 2 will be treated as integers not do...
Hi, I'm not really sure about some of the terminology used in the lecture today. The main one is a "word". I have done a little bit of reading and am still relatively unsure, if you could explain what specifically it is and what we use it for that wo...