Reputation: 31800
Is there any way to use compiled Haxe code in a Java application (instead of vice-versa?) I want to write a library of functions in Haxe, compile the Haxe code to Java, and then use the compiled Haxe library in a Java application.
Upvotes: 1
Views: 438
Reputation: 56412
Sure you can.
You just have to use Haxe / Java.
It will generate some .java class and compile them into a .jar.
You can then either use the .jar as a normal Java jar, or use directly the Java classes. It's still under heavy development, so it may require some minor hacks, but its globally working great.
Upvotes: 1