mirror of
https://github.com/apple/pkl.git
synced 2026-09-15 22:31:51 +02:00
This changes code so that the in-language `toString()` doesn't use Java's `Object.toString()`. Additionally, the existing `toString()` implementation is switched over to using `VmValueRenderer`, which does not force (leaves `?` in place of unforced values). This helps improve ergonomics when working on the language (can enable automatically calling `toString()` on debug values). Additionally, external tools might call toString(); for example, Truffle's compiler sometimes will stringify node fields (e.g. when -Dengine.CompilationFailureAction=Throw) is set.
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.