robert-w-gries / javar

Java compiler written in Java
0 stars 0 forks source link

Remove Xinu specific expressions and statements #10

Open robert-w-gries opened 6 years ago

robert-w-gries commented 6 years ago

We have a platform-specific class called Xinu that has hardcoded functions like print() and sleep().

This means that we cannot run our generated code on platforms like qemu or MARS.

We should look into a platform-agnostic method of executing system calls.

jchitel commented 6 years ago

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.