This is a translator of Java programming language to EOLANG programming language.
The easiest way is to use the yegor256/j2eo image for Docker:
docker run -v $(pwd):/eo yegor256/j2eo hello.java --target outputAlternatively, download j2eo.jar from the
releases page
and run it with Java 17+:
java -jar j2eo.jar <input> -o <output directory>Here, <input> is either a single .java file or a directory
with Java sources.
You will need Java 17+, Gradle 9.6+, Maven 3.8+, and ANTLR4 4.13.2. See ACCEPTANCE.md for instructions on installing them.
Fork the repository, make your changes, and then build and test everything:
git clone git@github.com:polystat/j2eo.git
cd j2eo
./build.sh
gradle testMake sure the build is clean and then submit a pull request.
If the build fails, make sure which java, which javac,
and echo $JAVA_HOME all mention the same jdk directory.
Use alternatives
to fix a mismatch, and see how
to set $JAVA_HOME
in case it points to a wrong place.