Skip to content

FLEX & BISON Java to C++ translator. NOTICE: it is still under development.

License

Notifications You must be signed in to change notification settings

martinezlucas98/java2cpp

Repository files navigation

🐲 java2cpp

FLEX & BISON Java to C++ translator.

⚠️ Warning: java2cpp is still under development and constant changes.

👀 Full 50+ pages documentation available in 🇪🇸Spanish🇲🇽 here.

Documentation

Quick Start

Simply pipe your input file into the translator executable a.out :

./a.out < YOUR_PATH_TO_FILE/FILE.java

Compiling Lex And Yacc

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.

Contributing

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.

About

FLEX & BISON Java to C++ translator. NOTICE: it is still under development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published