Jump to content

Apple's release of a programming language for defining configurations


Recommended Posts

🥒 Pkl (pronounced Pickle) is an embedded language for configuration definition that provides (https://pkl-lang.org/blog/introducing-pkl.html) extensive support for templates and data validation. It can be used from the command line, integrated into the build pipeline, or embedded in applications. Pkl scales from small to large, from simple to complex, from ad hoc to repetitive configuration tasks.

The associated Pkl toolkit is written in Kotlin and published under the Apache license. Plugins for working with Pkl code are prepared for IntelliJ, Visual Studio Code and Neovim development environments. The LSP (Language Server Protocol) handler is expected to be published soon.

Pkl combines the properties of an easy-to-understand declarative language with advanced features typical for general-purpose languages. Pkl supports type annotations, classes, functions, computational expressions, conditions, and loops.

image.png

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
  • Create New...

Important Information

By using this site you automatically agree to the Privacy Policy | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.