FLEX & BISON Java to C++ translator.
โ ๏ธ Warning: java2cpp is still under development and constant changes.๐ Full 50+ pages documentation available in ๐ช๐ธSpanish๐ฒ๐ฝ here.
Simply pipe your input file into the translator executable a.out
:
./a.out < YOUR_PATH_TO_FILE/FILE.java
Make sure you've installed flex and bison on your system.
If you choose to modify the lex java2cpp.l
or yacc java2cpp.y
files, you would need to step through the following commands in the terminal to update your file changes.
First you should run:
lex java2cpp.l
Second:
yacc java2cpp.y
Third and last:
cc y.tab.c -ly -ll
Then you can run java2cpp as stated on the quick start section.
You are more than welcome to help java2cpp become more robust by adding new features, fixing bugs, improving the documentations, and a lot more.
All you need to do is fork this repo and begin coding! ๐
Please read the contributing guide to learn about our contributing rules and standards.