jvm-binary: A library for reading Java class-files

[ java, jvm, language, library, mit ] [ Propose Tags ]
Versions [RSS] 0.0.1, 0.0.2, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.9.0, 0.10.0
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.10), binary, bytestring, containers, text, vector [details]
License MIT
Author
Maintainer Christian Gram Kalhauge
Category Language
Home page https://github.com/kalhauge/jvm-binary#readme
Bug tracker https://github.com/kalhauge/jvm-binary/issues
Source repo head: git clone https://github.com/kalhauge/jvm-binary
Uploaded by kalhauge at 2017-09-24T02:56:02Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5852 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-24 [all 1 reports]

Readme for jvm-binary-0.0.1

[back to package description]

jvm-binary

A library for reading and writing Java class-files. To get started importing the Language.JVM file should be sufficient for most uses.

If you want to access Code elements of methods it is recommended to import Language.JVM.Attribute.Code qualified, like this:

import           Language.JVM
import qualified Language.JVM.Attribute.Code as Code

Todo's

  • Add more Attributes as to the docs. The most notable and required are:

    • ConstantValue

    • Exceptions

    • Signature (for Java 6 support)

    • StackMapTable (for Java 7 support)

    • BootstrapMethods (for Java 8 support)

    • LineNumberTable

Developing

Use stack to build, test, and benchmark.