mirror of
https://github.com/apple/pkl.git
synced 2026-09-10 20:01:46 +02:00
GraalVM's partial evaulator can't handle recursive calls into the same node. The current implementation around evaluating `VmNull` as a parent causes the partial evaluator to bail out, leaving Pkl stuck in interpreter mode. This rewrites the various object literals to add individual specializations for each type of default value we can see from a VmNull parent. Also: * Fix `isTypeObjectClass` impl * Fix bug when amending with generator object literal node with object params
Core implementation of the Pkl language. Includes Java APIs for embedding the language into JVM applications, and for building libraries and tools on top of the language.