Skip to content

Latest commit

 

History

738 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J2EO: Java to EO Translator

gradle codecov Hits-of-Code Lines of code

This is a translator of Java programming language to EOLANG programming language.

Install

The easiest way is to use the yegor256/j2eo image for Docker:

docker run -v $(pwd):/eo yegor256/j2eo hello.java --target output

Alternatively, 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.

How to Contribute

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 test

Make 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.

About

Experimental Transpiler of Java Programs to EO Programming Language

Topics

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages