Coder Social home page Coder Social logo

wxflex / java2cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martinezlucas98/java2cpp

0.0 0.0 0.0 914 KB

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

License: Apache License 2.0

C++ 0.02% C 85.27% Yacc 13.48% Lex 1.23%

java2cpp's Introduction

๐Ÿฒ 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.

java2cpp's People

Contributors

martinezlucas98 avatar joaquinecc avatar shreegilliorkar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.