Inspiration

Large software projects in compiled languages such as C++ often use interpreted languages such as Python and Lua to provide functionality via plugins and scripts. Such plugins and scripts can be edited and added easily to augment or modify the behavior of the main software without needing to rebuild the project in C++. The traditional method to bind Python to C++ is via an API provided by Python, which can be confusing to use. Also, Python, as compared to C++, is rich in libraries, and hence it will be useful for programs developed in C++ to harness the functionality of Python.

What it does

It compiles code written in both C++ and Python into a single binary that can be executed.

How we built it

We augmented the g++ compiler with additional preprocessor directives to allow Python code to be embedded in C++ files.

Challenges we ran into

Spotty NUS wifi. Bugs Bugs Bugs

Accomplishments that we're proud of

It works!

What we learned

More about our favourite programming languages.

What's next for Python++

(Insert Language)++

Developed by

Wang Zhi Jian - ID: 603
Lim Daekoon - ID: 605
Keven Loo - ID: 627
Ge Shuming - ID: 616

Built With

Share this project:
×

Updates