Open robert-w-gries opened 6 years ago
We have a platform-specific class called Xinu that has hardcoded functions like print() and sleep().
Xinu
print()
sleep()
This means that we cannot run our generated code on platforms like qemu or MARS.
qemu
MARS
We should look into a platform-agnostic method of executing system calls.
We should base our standard library off of the jdk's existing one. We can make our own modifications because our goal is language parity, not necessarily runtime parity.
We have a platform-specific class called
Xinu
that has hardcoded functions likeprint()
andsleep()
.This means that we cannot run our generated code on platforms like
qemu
orMARS
.We should look into a platform-agnostic method of executing system calls.