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.
1 Answer
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.
grep -r "myFunction" *java- this will return all occurrences ofmyFunctionin the source folder.