transpyle
transpyle copied to clipboard
HPC-oriented transpiler for C, C++, Cython, Fortran, OpenCL and Python.
Would it be possible to include Matlab in the Transpyle Repertoire? In my recent reading I have found several promising approaches which may do most of the work for you....
It looks like `if __name__ == "__main__":` is not transpiled into `program ... end program`. This would be helpful to allow black box comparison of a python program with the...
I am running transpyle on the test cases in https://github.com/adsharma/py2many/tree/main/tests/cases, and many of the simpler cases fail transpiling to Fortran because the following ast are not implemented IfExp, Subscript, Assert
**TLDR**: If you run the Transpyler AST Generalizer on a C program with `void` functions, it will throw an `isinstance` assertion error because `pycparser` returns `None` for the function declaration,...
 Clicking on the link does not redirect to a notebook, but gives a 404 error.
The pcpp package introduced breaking changes in update to version 1.21. And transpyle is currently compatible with pcpp 1.20, but not 1.21.
These are some of the extension from PR #6 but rebased on current master. So I added some try catch blocks, because type_comments are not used in some of the...
E.g. Fortran `sqhalf = 0.7071067811865475244` becomes `sqhalf = 0.7071067811865476` after transpiling. The differences come from the not sufficient number of bits used to store the literals. This might not matter...
When transpiling between Fortran and Python, declaring for example: ``` real, parameter :: tiny=1.e-32 ``` and then referencing this name like in: ``` if (x < tiny .and. x >...
``` interface real function limiter(a,b) real,intent(IN) :: a,b end function limiter end interface ``` Current Fortran AST generalizer fails for files containing interfaces (e.g. above) with the message like below:...