Skip to content

zigazeljko/classtojs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

classtojs

An ahead-of-time Java-to-JavaScript compiler written in Rust.

Installation

classtojs can be built from source using cargo.

git clone https://github.com/zigazeljko/classtojs.git
cd classtojs
cargo build

Usage

Compiling a single class file to JavaScript:

classtojs Example.class out.js

Compiling multiple files using a config file:

classtojs example.toml out.js

Demos

Demos are available in the classtojs-demos repository.

Online demos: JBox2D and Minecraft4k.

About

Ahead-of-time Java-to-JavaScript compiler written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages