History - Gannon-University/gcis634.2014.team2 GitHub Wiki

Origins of the JVM Interpreter

The original goal of the JVM interpreter was to parse a class file generated by the java TriangleProblem class. The class needed to meet the following requirements.

To do this, the program was first written in standard Java and then the class file was automatically generated. From the class file, the bytecode instructions were copied and pasted into a txt file that would be read from the JVM interpreter. These instructions were then parsed and written as Java classes to replicate the necessary functionality. Similar to how bytecode itself works, a Stack was used to store program data values.