pycom
pycom copied to clipboard
A Python compiler, down to native code, using C++
Everytime I try to compile any python file with pycom, it gives me this error, I think it's related to language accent marks in the system language because I haven't...
I get this error when trying to execute pycom pycom: CompilationError: g++: headers/other/range.hpp: No such file or directory g++: compilation terminated. Gcc is installed: gcc --version gcc (Debian 11.3.0-5) 11.3.0...
The approach seems to be to tokenize python source and match strings. Why not parse python into an AST and write a visitor to generate code in the target language?...
When executing `pycom test.py` on a primitive number rounding test script I get the following error: ``` pycom: CompilationError: g++: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? ```...
The readme states: > generating native code that can run as a standalone executable from Python code has never really been done But the nuitka (https://nuitka.net/) project has been doing...