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.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

    You can open source anything, really. This is just not useful in an ecosystem of Apple-only bullshit. Who cares if it’s open?

  • mannycalavera
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

    Just looks like YAML plus JSON to me. What’s the big deal?

  • hemko@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    9 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      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.