https://github.com/gabriel-dp/c2python
Convert your C code to Python. Practical work in the Compilers subject at UFSJ.
https://github.com/gabriel-dp/c2python
c compiler python ufsj
Last synced: 9 months ago
JSON representation
Convert your C code to Python. Practical work in the Compilers subject at UFSJ.
- Host: GitHub
- URL: https://github.com/gabriel-dp/c2python
- Owner: gabriel-dp
- Created: 2025-04-03T11:53:49.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T19:34:19.000Z (9 months ago)
- Last Synced: 2025-04-07T20:34:21.598Z (9 months ago)
- Topics: c, compiler, python, ufsj
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# c2python
> Convert your C code to Python using a C++ program
```cpp
#define STUDENT "Gabriel de Paula"
#define SUBJECT "Compiladores"
#define PROFESSOR "Flávio Schiavoni"
#define SEMESTER "2025/1"
```
## How to use
Generate the executable:
```bash
make
```
Run the executable
```bash
./bin/compiler
```