seapeapea
C++ to python transpiler
usage: seapeapea [-h] [-I INCLUDE] [-o OUTPUT] [-p PREPROCESSED] [-m MAP]
[--no-imports] [--qt {pyside6,pyqt6,pyside2,pyqt5}] [--time]
src [src ...]
transpiles c++ into python
positional arguments:
src cpp files
options:
-h, --help show this help message and exit
-I INCLUDE, --include INCLUDE
includepath
-o OUTPUT, --output OUTPUT
output
-p PREPROCESSED, --preprocessed PREPROCESSED
path to save preprocessed
-m MAP, --map MAP save map for side by side
--no-imports do not add imports
--qt {pyside6,pyqt6,pyside2,pyqt5}
python qt library
--time print time stat
Install
pip install seapeapea
About
There are two ways to write c++ transpiler:
-
Hard way: write c++ compiler and preprocessor that can expand all macros and process all templates, it will produce semireadable code that is almost guaranteed to be correct.
-
Easy way: write processor that parses code and makes reasonable assumptions about missing information and produces readable code (as if it way written by human) that is probably correct.
Seapeapea goes easy way, it produces first iteration of what will become working code after you repair it.
Release files for seapeapea 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seapeapea-0.0.2.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seapeapea-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.2 kB
Release files / seapeapea-0.0.2.tar.gz
| Download URL | seapeapea-0.0.2.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43bc6b46a95164f996a51b4c1f4a0bc982dd8d4fcc6eb2f92f606545352e63b9
|
|
BLAKE2b-256 checksum How to use checksums |
970f6f6199a5ddd5ba2742294f5c835fa17bc4e71fbf6b9fc46de9f856fd2820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / seapeapea-0.0.2-py3-none-any.whl
| Download URL | seapeapea-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af8104d3ae13872f45aac72b08523fd1c55bb93719de5bb478e384fc186753d0
|
|
BLAKE2b-256 checksum How to use checksums |
4ffd917a303364e2f7fc901224d9eedab63531aa6c405e033df818eb687aad5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|