repositorypackage
1.0.1
Repository: https://github.com/amazingrise/rise-jvm-core.git
Documentation: pkg.go.dev
# README
Rise JVM Core
This is the core of Rise JVM.
Rise JVM is a Java Virtual Machine based on WASM, written in Go.
Tested under:
- Ubuntu 20.04
- OpenJDK javac 11.0.13
β¨Quick Start
Just one line.
go test
πStructure
Project structure:
.
βββ LICENSE
βββ README.md
βββ demo
βββ entity
βββ go.mod
βββ go.sum
βββ jvm
βββ loader
βββ logger
βββ main.go
βββ main_test.go
βββ rt
βββ utils
demo
Demo Java classes and their source code.
loader
Class loader and related stuffs are here. They load bytes from class
file. The loader will convert these bytes into Go struct
.
entity
This directory stores the definition of structures, and its methods. The methods are only related to the struct
, e.g. IsPublic
for Class
.
Other things like deserialization is not included.
jvm
VM and byte code execution engine.
logger
Global logger. It should be initialized.
πAcknowledgement
zserge/tojvm. Some snippets in loader
are from here. They are noted in comments.
πLicense
This project is licensed under GPLv3.