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
Currently, we parse some of the xnd/ndtypes/gumath c files to generate compatible LLVM functions that can call their exposed functions. We do this by parsing the C files in Python.
Instead, we could use clang itself to generate these bindings. That way we don't have to reimplement a C parser and define the mappings between C and LLVM ABIs ourselves.
See aguinet/dragonffi#13 for some discussion using dragonffi to do this (it has a Python API)
The text was updated successfully, but these errors were encountered:
Currently, we parse some of the xnd/ndtypes/gumath c files to generate compatible LLVM functions that can call their exposed functions. We do this by parsing the C files in Python.
Instead, we could use clang itself to generate these bindings. That way we don't have to reimplement a C parser and define the mappings between C and LLVM ABIs ourselves.
See aguinet/dragonffi#13 for some discussion using dragonffi to do this (it has a Python API)
The text was updated successfully, but these errors were encountered: