Simuliert eine JVM.
Zur Zeit funktioniert nur ein begrenzte Anzahl an op-codes. Dieses Programm ist OpenSource:
https://gitlab.com/neoexpert/jvm
Beispiel-Programm, das ausgeführt werden kann:
public class Main {
public static void main(String[] args) {
fak(10);
}
public static int fak(int i){
if(i<=0)
return 1;
return i*fak(i-1);
}
}
Mô phỏng một JVM.
Hiện tại chỉ có một số lượng hạn chế của các mã op. Chương trình này là OpenSource:
https://gitlab.com/neoexpert/jvm
Chương trình ví dụ có thể được thực thi:
lớp học chính {
public static void main (String [] args) {
FAK (10);
}
công tĩnh int fak (int i) {
if (i <= 0)
trả lại 1;
trả lại i * fak (i-1);
}
}