pkl
pkl copied to clipboard
A configuration as code language with rich validation and tooling.
Reproducer: ```pkl class Foo {} local classes = new Listing { Foo }.toList() function check(a: Any) = classes.any((cls) -> a is cls) local foo = new Foo {} result =...
running `pkl eval Conn.pkl` also, i know that i wasnt using the types right, but the IDE didn't say anything and i wanted to see what would happen :) file...
Hi , Getting this error while building : [2024-10-03 23:50:03] [build-stdout] > Task :pkl-core:jar [2024-10-03 23:50:03] [build-stdout] > Task :pkl-core:javadocJar [2024-10-03 23:50:04] [build-stdout] > Task :pkl-core:sourcesJar [2024-10-03 23:50:04] [build-stdout] >...
# context Hi all, first time submitting a bug report ever. Here's the info: - What are you trying to achieve? - Implement a way for pkl to retrieve configuration...
Pkl will return the wrong result for the unary `-` operation like below. ```pkl // foo.pkl a = --1 ``` The result of this operation should be `1` but got...
I was trying to use the `pkl` command to process files with Japanese names. However, an error occurs when attempting to evaluate the file. #### Information for Bug Report -...
This snippet this evaluates to `result = true`: ```pkl hidden myFunc = (it: String) -> it result = myFunc is (Int) -> String ``` It's not possible to typecheck a...
We were trying to host our pkl releases in a private gitlab repo. However according to this discussion https://github.com/apple/pkl/discussions/632 that's not possible. Could I suggest adding a method to allow...