Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Java Virtual Machine implementation in Python

License

NotificationsYou must be signed in to change notification settings

gkbrk/python-jvm-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-jvm-interpreter is an implementation of the Java Virtual Machine inPython. It works by parsing and interpreting the Java Class files.

Dependencies

In order to compile Java code to Java Bytecode, you will need to havejavac. If you just want to run bytecode that is already compiled, all you needis a Python interpreter.

Running the tests

The project comes with a number of unit tests. If you run the shell scripttest.sh, it will compile the Java files in the example directory and run theunit tests. You will be able to see how many test passed and how many failed.

Even if you haven't touched anything critical, it is always a good idea to runthe unit tests after each change. This will make sure that nothing breaks, andif it does you will immediately know why it broke.

As more functionality is implemented, the amount of test cases should beincreased in order to make it easier to check if anything is broken.

About

Java Virtual Machine implementation in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp