9 releases (4 breaking)

0.5.4 Mar 19, 2023
0.5.3 Mar 8, 2023
0.4.1 Feb 17, 2023
0.3.0 Jan 31, 2023
0.1.0 Jan 28, 2023

#825 in Parser implementations

Download history 148/week @ 2024-02-19 20/week @ 2024-02-26 3/week @ 2024-03-04 8/week @ 2024-03-11 4/week @ 2024-03-18 94/week @ 2024-04-01

107 downloads per month
Used in phoron_asm

Custom license

150KB
3K SLoC

phoron_core

github workflow crates.io docs.rs

This project provides the low-level functionality of interacting with the JVM, and thus it provides the following high-level features:

  • generating class files from the object rrpresentation, and
  • generating object representations from class files

Build

  $ cargo build --release
  $ cargo test --release

Usage

Refer to the tests.

Planned Features

  • Pluggable support for custom Attributes.

LICENCE

See LICENSE.


lib.rs:

phoron_core is a library to enable serialization and deserialization of JVM bytecode. It consists of two main modules:

  • deserializer : read in the raw bytes of a JVM class file and construct an object model.
  • serializer : take the object model representation and construct the JVM class file bytes from it.

No runtime deps