Skip to content

Implement C interoperation - #167

Merged
certik merged 7 commits into
lcompilers:mainfrom
certik:c
Feb 26, 2022
Merged

certik merged 7 commits into
lcompilers:mainfrom
certik:c

Conversation

@certik

@certik certik commented Feb 24, 2022

Copy link
Copy Markdown
Contributor

For now in CPython only.

@certik

certik commented Feb 24, 2022

Copy link
Copy Markdown
Contributor Author

What remains is to extract the argument types from annotations and pass them to ctypes. Then it should work.

Comment thread src/runtime/ltypes/ltypes.py Resolved
Comment thread src/runtime/ltypes/ltypes.py Resolved
Comment thread src/runtime/ltypes/ltypes.py Resolved
@certik
certik marked this pull request as ready for review February 26, 2022 01:06
@certik
certik merged commit d2c9904 into lcompilers:main Feb 26, 2022
@certik
certik deleted the c branch February 26, 2022 01:07
@certik

certik commented Feb 26, 2022

Copy link
Copy Markdown
Contributor Author

This seems to work. We'll build upon it with subsequent PRs.

@certik certik mentioned this pull request Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants