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.

  • @[email protected]
    link
    fedilink
    English
    -19 months ago

    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

    • @abhibeckert
      link
      English
      2
      edit-2
      9 months ago

      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.

      • asudox
        link
        English
        19 months ago

        I doubt Apple open sourced it to the world as a “favour”.