Commit 46db74a
Introduce C library for Pkl
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>1 parent 8c5bd3b commit 46db74a
File tree
64 files changed
+3526
-333
lines changed- .circleci
- jobs
- .idea/inspectionProfiles
- bench
- buildSrc/src/main
- kotlin
- resources
- docs
- gradle
- libpkl
- scripts
- include
- src
- main
- c
- java/org/pkl/libpkl
- nativeTest
- c
- kotlin/org/pkl/libpkl
- pkl-cli
- pkl-codegen-java
- pkl-codegen-kotlin
- pkl-commons-cli
- pkl-commons-test
- src/main
- kotlin/org/pkl/commons/test
- server
- resources/org/pkl/commons/test/server
- pkl-commons
- pkl-config-java
- pkl-config-kotlin
- pkl-core
- src/main/java/org/pkl/core/messaging
- pkl-doc
- pkl-executor
- pkl-formatter
- pkl-gradle
- pkl-parser
- pkl-server
- src/test/kotlin/org/pkl/server
- pkl-tools
- stdlib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+3526
-333
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments