This implements functions parameters and arguments. The compiler now emits push instructions in order to save the arguments on the stack. The VM clones the values from the stack into the registers which correspond to the parameters of the function when the new stack frame is constructed.
This implements functions parameters and arguments. The compiler now emits push instructions in order to save the arguments on the stack. The VM clones the values from the stack into the registers which correspond to the parameters of the function when the new stack frame is constructed.