No description
Find a file
Sander Hautvast b9d0a199a3 putfield sets the value in the object,
using Rc<RefCell>. Not really happy, but it works
2023-10-01 19:05:34 +02:00
jmods renamed and reformatted 2023-09-30 08:34:16 +02:00
src putfield sets the value in the object, 2023-10-01 19:05:34 +02:00
tests arguments in method calls 2023-10-01 09:34:09 +02:00
.gitignore reads complete class file 2023-09-19 21:21:32 +02:00
Cargo.lock invokespecial 2023-09-30 14:04:28 +02:00
Cargo.toml invokespecial 2023-09-30 14:04:28 +02:00
LICENSE renamed and reformatted 2023-09-30 08:34:16 +02:00
README.md readme 2023-09-30 18:23:46 +02:00

So you wanted to build a JVM

as in why not???

actually: System.out.println("Hello World") would be a major achievement. It's nowhere near that level...

so far

  • starts a main class (TODO cmdline args)
  • loads classes from a classpath, including jar/jmod files
  • instantiates classes (TODO implement superclass instantiation)
  • runs bytecode (TODO more opcodes)
  • has INVOKEVIRTUAL and INVOKESPECIAL, including stackframes (TODO more invokes)
  • has a heap

more TODO's

  • native methods
  • stacktraces
  • check visibility
  • IO
  • garbage collection

Ultimate goal

  • Hello world domination