Module Commands


module Commands: sig .. end
In this module there is the function to create the Intermediate Code for commands


In this module there is the function to create the Intermediate Code for commands
val genCommand : Syntaxtree.cmd ->
Intermediate.dec_table ->
Intermediate.proc_table -> Intermediate.intermediateCode -> unit
Creates the instructions for a command and adds the instructions to the Intermediate Code list of instructions
Returns Nothing, but the intermediate Code class is updated with all the instructions created
c : The command to analyze
dect : The declaration table
proct : The procedure table
ic : The intermediateCode class instance