GitHub - ozy/ToyJVM: An experimental Java Virtual Machine written in C
source link: https://github.com/ozy/ToyJVM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
ToyJVM
Experimental Java Bytecode Interpreter written in C to understand Java concepts better.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
Javac
is required to compile Java codes into Java bytecodes.
Running the tests
You can run the tests with the test.sh
script. As the project grows up, new tests will be added.
Running the software
You need to give the class name without extension to the executable. For example ./bin/main test/HelloWorld
will run the test/HelloWorld.class file.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK