Skip to content

Introduce C library for Pkl#1238

Draft
bioball wants to merge 1 commit intoapple:mainfrom
bioball:c-library
Draft

Introduce C library for Pkl#1238
bioball wants to merge 1 commit intoapple:mainfrom
bioball:c-library

Conversation

@bioball
Copy link
Member

@bioball bioball commented Oct 15, 2025

This introduces native C bindings for Pkl.

This uses native-image to generate a C library for Pkl. This generated library from native-image is wrapped with our own library, in pkl.h.

This produces a static and a dynamic library for each os/arch variant that Pkl currently supports.

Supersedes #1136

@bioball bioball mentioned this pull request Oct 15, 2025
10 tasks
This introduces native C bindings for Pkl.

This uses native-image to generate a C library for Pkl.
This generated library from native-image is wrapped with our own library,
in `pkl.h`.

This produces a static and a dynamic library for each os/arch variant
that Pkl currently supports.

Co-authored-by: Dan Chao <daniel.h.chao@gmail.com>
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

Comments