Web application to help convert one programming language's code to another within seconds while also enabling the user to generate code using just logic.
Link for demo
The source code of this project is written in HTML/CSS/JS, Flask, IBM Watson
. So, you need to install requirements.txt
to run this project.
Our team consists of 3 developers and all of us realised that we face the same problem- it's very hard to memorise all syntaxes since each language has its own different syntax. This not only causes confusion but also takes up a lot of our time.
So Many Languages has various features to motivate students to learn competitive coding while also making the process easier. SML helps:
- Save time
- Immediate language conversion
- One of its kind language freedom
- Voice to code templating
- Code accurately
- Code programs by just knowing the logic (no need to remember syntaxes)
- Take tests and practice while also earning rewards for the same
- Simple plain English to code
1) git clone https://github.com/akshatvg/So-Many-Languages
2) cd So-Many-Languages
3) pip install -r requirements.txt
4) python3 run.py
- Run the software as mentioned above.
- Use the default page to upload code of a programming language to be converted into any of the other listed languages in the dropdown menu.
- Use the Voice to Code Templating page to give out intents to be converted into code. eg: "Open C++", "Show me how to print a statement", etc.
- Use the Compete and Practice page to try out language specific programs to test out how much you learnt, compete against your peers and earn points.
- Use the Rewards page to redeem the earnt Points.
- Run the code from the compiler to get desired result in the same place.
- Easy to use and fast processing.
- Save time from scrolling through Google searching for different answers and syntaxes by having everything come up on its own in one single page.
- Learn and earn at the same time through the Compete and Rewards page.
Students- learning has no age & developers need to keep learning to stay updated with trends.
We intend to provide free code templating and conversion for particular common languages like C++, Python, Java, etc and have paid packs for exclusive languages like Swift, PHP, JavaScript, etc.
- For every referral, points will be earned which help purchase premium and exclusive language packs once enough points are saved. These points can also be used to purchase schwags.
- Schwags and discount benefits for Campus Ambassadors in different Universities and Colleges.
We built the assistive educative technology using:
- HTML/ CSS/ JavaScript/ Bootstrap (Frontend Web Development),
- Flask (Backend Web Development),
- IBM Watson (To Gather User's Intent- NLU),
- PHP, C++, Python (Test Programming Languages).
Other than the jet lag we still have from travelling all the way from India and hence lack of sleep, we came across a few technical challenges too. Creating algorithms to convert PHP code wasn't very easy at first, but we managed to pull it off in the end.
Creating a one of its kind product.
- We are the first ever educative technological assistant to help learn and migrate to programming languages while also giving users a platform to practice and test how much they learnt using language specific problems.
- We also help users completely convert one language's code to another language's code accurately within seconds.
This was our team's first international hackathon. We met hundreds of inspiring coders and developers who tried and tested our product and gave their views and suggestions which we then tried implementing. We saw how other teams functioned and what we may have been doing wrong before. We also each learnt a technical skill for the project (Akshat learnt Animations and basics of Flask, Anand learnt using IBM Watson to its greatest extent and Sandeep learnt PHP just to implement it into this project).
We intend to add support for more programming languages as soon as possible while also making sure that any upcoming bugs are rectified.
If you are not able to clone this repository, check out this link.
Feel free to contact me via Facebook.
Invite me to connect on LinkedIn.
_____ _ _ __ __
|_ _| | | | \ \ / /
| | | |__ __ _ _ __ | | __ \ V /___ _ _
| | | '_ \ / _` | '_ \| |/ / \ // _ \| | | |
| | | | | | (_| | | | | < | | (_) | |_| |
\_/ |_| |_|\__,_|_| |_|_|\_\ \_/\___/ \__,_|
______
| ___|
| |_ ___ _ __
| _/ _ \| '__|
| || (_) | |
\_| \___/|_|
______ _ _ _ _
| ___ \ (_) | | | | | |
| |_/ / ___ _ _ __ __ _ | |_| | ___ _ __ ___| |
| ___ \/ _ \ | '_ \ / _` | | _ |/ _ \ '__/ _ \ |
| |_/ / __/ | | | | (_| | | | | | __/ | | __/_|
\____/ \___|_|_| |_|\__, | \_| |_/\___|_| \___(_)
__/ |
|___/
MIT © Akshat Gupta
if (youEnjoyed) {
starThisRepository();
}
_ _ _ _____ _
/\ | | | | | | / ____| | |
/ \ | | _____| |__ __ _| |_| | __ _ _ _ __ | |_ __ _
/ /\ \ | |/ / __| '_ \ / _` | __| | |_ | | | | '_ \| __/ _` |
/ ____ \| <\__ \ | | | (_| | |_| |__| | |_| | |_) | || (_| |
/_/ \_\_|\_\___/_| |_|\__,_|\__|\_____|\__,_| .__/ \__\__,_|
| |
|_|