Apple released a new open-source programming language, described as: Configuration that is Programmable, Scalable, and Safe.
It can translate the configuration to already existing configuration languages such as JSON, YAML, and others.
You can also embed those configuration files in some programming languages and produce code from them.
You can open source anything, really. This is just not useful in an ecosystem of Apple-only bullshit. Who cares if it’s open?
Just looks like YAML plus JSON to me. What’s the big deal?
I wonder if this language has any other purpose other than Apple to have more control over how the applications are written for their platforms
Huh? No. This is a really simple tool - you type text into a file, and save that file on your disk. Other things read the file. Thee’s no “control” anywhere to be seen.
Apparently Apple has been using Pkl internally for years, and they’ve decided to do the world a favour by making it publicly available… probably because they want to use it for public projects too, instead of just their internal ones.
I doubt Apple open sourced it to the world as a “favour”.