Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# 📢 Pyxpp
![Pyxpp (3)](https://github.com/user-attachments/assets/2bb68d2e-ef5a-40be-acc6-a30ee006e816)




## 🗿 Main information
### :computer: How it works
The user inputs their code using c++. Translator takes the input code, creates an input.py file, and runs the python program. The python program generates an output.cpp file containing the translated C++ code.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user inputs their code using c++

The user enters the path to the input file with the extension .py in the "pyxpp" software, which is a package written in python.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

creates an input.py file

It doesn't create a .py file, it opens it.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python program

Specify explicitly that this is a translator.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translated C++

Still, this is Python translated to C++, not the other way around.

### :gear: Requirements
Does not exist yet

## :pencil2: Usage example

input code example:
``print("This line will be printed.")``
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The examples are good.
But MD uses three ```, not two.


output code example:
``main() {
std::cout << "Hello, World!";
}``
## :coffin: Installation
Does not exist yet