Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.7 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.7 KB

JWebAssembly-API

Build Status License Maven JitPack

This is a possible API of JWebAssembly for the browser. If you want to use it, you must add it as a compile-time dependency to your Java project.

repositories {
     mavenCentral()
}
dependencies {
    compile 'de.inetsoftware:jwebassembly-api:+'
}

This library contains:

  • the Java annotations that control the compiler.
  • some native methods of the Java VM. The pure compiler JWebAssembly does not know how to replace native code and fire an error if a native method is references without an replacement.
  • the emulator to debug your code in your Java IDE.
  • a wrapper for the DOM and the JavaScript API.

It is possible to use another library with another target for your. For example for command line tool which can do file access. Or you think the concept of the DOM API wrapper is to pure. If you write your alternative library or fork this then only the annotations must be identical for the compiler JWebAssembly.

Documentation

The documentation of JWebAssembly and the usage of this library can be found in the wiki.