tansly / congenial-elucidator

A compiler for the xpln programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement function arguments

tansly opened this issue · comments

Implement function arguments

May add a new VM instruction, PARAM.
For each argument in an aarglist, emit a PARAM instruction.
Push the value to the stack in MIPS code.

How to know which parameter corresponds to which formal parameter?
How to keep their order?