You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* importing `cpython_bindings.py` when using `BindPython` ABI
cpython_bindings.py will contain declarations for all the CPython C API function required
* BindPython for no args - no return functions in LLVM backend
* BindPython support for args of int and float types
* refactored "from ... import ..." AST to ASR code
* BindPython support for args of str and bool types
* BindPython support for return type of str, bool, integer & real types
* refactored python_bind
split one `pass_python_bind` function into
`generate_body`, `native_to_cpython`, `cpython_to_native`,
and `pass_python_bind`
* fix for CI
* fix for failing test
* add integration test for llvm backend
* refactor: importing cpython_bindings separate out into function
* skip python_bind ASR pass when using C backend
* changes according to code review
* generating CPython related function declarations in python_bind pass
* fix for failing CI
* remove use of `PyRun_SimpleString` to set python path
some refactoring
* clean up unwanted comment
* refactored `declare_functions` to asr_utils.cpp
* Update src/libasr/pass/python_bind.cpp
Co-authored-by: Shaikh Ubaid <shaikhubaid769@gmail.com>
* skipping python_bind ASR pass if `--enable-cpython` flag not used
* fix related to previous commit
---------
Co-authored-by: Shaikh Ubaid <shaikhubaid769@gmail.com>
0 commit comments