CS 451 Programming Paradigms
ML Assignment Two: Final vmtester.sml File

structure proc1 = makeVMProcess(ProgOne);
structure proc2 = makeVMProcess(ProgTwo);
structure proc3 = makeVMProcess(ProgThree);

(
proc1.execute(3);
proc2.execute(15);
proc3.execute(15);
proc1.execute(3);
proc2.execute(15);
proc3.execute(15);
proc1.execute(3);
proc2.execute(15);
proc3.execute(15);
proc1.execute(3);
proc2.execute(15);
proc3.execute(15);
proc1.execute(3);
proc2.execute(15);
proc3.execute(15)
)

[ Back to CS451: The ML Segment ]