pkl / PR 1877

Add pkl-binary encoding of Reference referent type

apple/pkl#1877 openmixed

+1269/−47lines
12files
0comments
2026-09-25opened
-merged

What it touches

main: 7 test: 4 docs: 1

Modules: pkl-core (11), docs (1)

Architectural impact (arcade-agent diff_impact)

7files mapped to the graph
134entities in those files
Corecomponents
1348entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.TypeParameter339
org.pkl.core.Reference29
org.pkl.core.runtime.VmPklBinaryEncoder23
org.pkl.core.PklBinaryDecoder5
org.pkl.core.runtime.VmType4

Computed against the current default branch, not the PR base commit; files renamed or deleted since then are unmatched. Downstream counts are a reverse-dependency closure to depth 3 and over-approximate real blast radius.

Files

docsdocs/modules/bindings-specification/pages/binary-encoding.adoc
mainpkl-core/src/main/java/org/pkl/core/PklBinaryDecoder.java
mainpkl-core/src/main/java/org/pkl/core/Reference.java
mainpkl-core/src/main/java/org/pkl/core/TypeParameter.java
mainpkl-core/src/main/java/org/pkl/core/runtime/VmPklBinaryEncoder.java
mainpkl-core/src/main/java/org/pkl/core/runtime/VmType.java
mainpkl-core/src/main/java/org/pkl/core/util/pklbinary/AbstractPklBinaryDecoder.java
mainpkl-core/src/main/java/org/pkl/core/util/pklbinary/PklBinaryCode.java
testpkl-core/src/test/files/LanguageSnippetTests/input/api/pklbinary1.msgpack.yaml.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/api/pklbinary1.msgpack.yaml
testpkl-core/src/test/kotlin/org/pkl/core/PklBinaryDecoderTest.kt
testpkl-core/src/test/resources/org/pkl/core/pklBinaryDecoderTest.msgpack