Apple open sources Pkl, a configuration-as-code language with rich validation and tooling, with Swift, Go, Java, and Kotlin integration
We are delighted to announce the open source first release of Pkl (pronounced Pickle), a programming language for producing configuration. Threads: @danielpunkass . Mastodon: @lkanies@hachyderm.io . X: @brianmichel , @omervk , @timsneath , @adam_ruka , @thomaswue , @_mischi , @ch0rx , @_drewbailey , @vitalethomas , @peterfriese , @marandaneto , @ktosopl , @orcunbalcilar , @kushalp , @merowing_ , @krzyzanowskim , @jackkleeman , @ronaldmannak , @marcsavy , @krzyzanowskim , and @vitalethomas Forums: Hacker News , r/programming , and Lobsters Threads: Daniel Jalkut / @danielpunkass : Who had “Apple will release a new language, implemented in Kotlin, with IDE integration for everything but Xcode” on their bing card? https://pkl-lang.org/... Mastodon: Luke Kanies / @lkanies@hachyderm.io : Holy shit. I love everything about this: a cross-platform, standardized configuration language. — I have not had a chance to fully grok this. But this was definitely one of my dreams when I started Puppet. I did not want puppet to win. I just wanted something we all used, something that made us better, able to move on. … X: Brian Michel / @brianmichel : Love that Apple released pkl written in Kotlin instead of Swift because...............? Omer van Kloeten / @omervk : This, like any other statically typed configuration language, could go a long way if it's ever widely adopted Tim Sneath / @timsneath : Introducing Pkl, an open source configuration programming language from @Apple with bindings for Swift, Go, Kotlin and Java: https://pkl-lang.org/... #PklIsNotYaml #OSS Adam Ruka / @adam_ruka : Vision Pro is not the only major launch from Apple today - a team in the company has open-sourced Pkl (pronounced “Pickle"), a new configuration programming language: https://pkl-lang.org/.... Interestingly, it uses @graalvm Truffle in its implementation! Thomas Wuerthinger / @thomaswue : Interesting aspect of the new Pkl configuration language just open sourced by Apple is that it is built on top of the @GraalVM polyglot Truffle framework. New languages with interoperabilty is another use case for Graal next to fast JIT compilation and efficient AOT compilation. [image] @_mischi : Vision Pro is cool and all, but have you ever spent time searching for that format error in your YAML file? Apple just open sourced their new type-safe configuration language Pkl. Define once, and safely render into many formats! https://pkl-lang.org/... https://github.com/... Charles Prado / @ch0rx : Apple's new PKL, a config programming language, feels refreshingly un-Apple—in a good way! Seems they're embracing community openness. https://pkl-lang.org/... Drew Bailey / @_drewbailey : Apple open sourced Pkl! A configuration language I've had the pleasure of using almost every day over the past 2 years. It's pretty slick! Dealing with Typed K8s objects over yaml is pretty sweet. https://pkl-lang.org/... Thomas Vitale / @vitalethomas : Since the only framework supported out-of-the-box is @springboot, I guess it's because Apple is using it internally. I'd love to hear from @apple engineers about their experience working with @java and Spring. Any chance we can make this happen? Perhaps at @spring_io? @k_gamanji Peter Friese / @peterfriese : @krzyzanowskim “Incredible IDE integration”: [image] Manoel Neto / @marandaneto : Long live type safe configurations, death to all YAMLs @ktosopl : We're incredibly happy to include #swift support for #pkl right away from day one! Pkl is an awesome configuration language that can prevent configuration bugs before they hit production. I'm sure it'll be incredibly useful for server side systems and client both! @orcunbalcilar : Apple has just introduced Pkl, a programming language for configuration. 🎉 It provides ahead of time configuration check and type safety for values in config files and more.. Worth reading. 👌Have a nice reading. https://pkl-lang.org/... Kushal Pisavadia / @kushalp : Pkl, a configuration language that I use on a daily basis, is now open source. It's something we use to configure, deploy, and provision some of our largest services. https://pkl-lang.org/... Krzysztof Zabłocki / @merowing_ : PKL format from @Apple looks interesting, a single definition can be used to generate a ton of different configuration formats like yaml, json, plist and also supports code generation for many languages! Check it out! https://pkl-lang.org/... https://github.com/... [image] Marcin Krzyzanowski / @krzyzanowskim : implemented in Java and Kotlin 👀 (not Swift, you read it right) [image] Jack Kleeman / @jackkleeman : An incredible config language that I used extensively at Apple is finally open source. If you ever write YAML, Jsonnet or Cue, you should definitely check it out! https://pkl-lang.org/... Ronald Mannak / @ronaldmannak : This is Apple's second tool (after MLX) that doesn't have Swift support at launch. What's going on? Marc Savy / @marcsavy : Apple are using @mojavelinux's Antora @antoraproject for the documentation on Pkl. Marcin Krzyzanowski / @krzyzanowskim : Apple just released new programming language „Pickle" https://pkl-lang.org/ „We created Pkl because we think that configuration is best expressed as a blend between a static language and a general-purpose programming language." ... checking notes ... without Xcode support for... Thomas Vitale / @vitalethomas : Apple has just open-sourced a new configuration language called Pkl. It can generate static config (YAML, JSON, XML), but it can also integrate with programming languages (Java, Swift, Go, Kotlin). It even comes with Spring Boot support already! https://pkl-lang.org/... Forums: Hacker News : Pkl, a Programming Language for Configuration r/programming : Introducing Pkl, a programming language for configuration Calvin / Lobsters : Introducing Pkl, a programming language for configuration