Skip to content

Maciej4/rustjava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustJava

The goal of this project is to implement a small subset of the JVM in Rust to learn more about both the JVM and Rust.

Key files

  • src/main.rs - The entry point of the program.
  • src/bytecode.rs - Contains the bytecode instructions and some utility functions.
  • src/class_file_parser.rs - Parses class files into a Class struct for use by the JVM.
  • src/java_class.rs - The Class struct, which represents a Java class.
  • src/javac.rs - Compiles Java source code into class files.
  • src/jvm.rs - The JVM implementation.
  • src/reader.rs - A utility for reading files byte by byte, which is used by the class file parser.

About

A learning project about compiler design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published