This thesis presents a procedure for enhancing the compiler for the PINS programming
language by compiling the source code into Java bytecode. PINS
is an educational programming language, and its compiler was implemented
as part of the Compilers and Virtual Machines course. The thesis describes
register and stack machines, the Java vritual machine and focuses particularly
on the upgrade of the compiler for the PINS programming language.
The functionality of the new compiler for the PINS programming language is
tested using various test cases, and the Java Virtual Machine also verifies the
bytecode. Additionally, the performance of the newly translated programs is
measured and compared to the basic PINS compiler and Java.
|