Apple’s Open Source Programming Language Pkl Announced

Technology giant Apple has released a new open source programming language called Pkl. What is known about Pkl, which can be used especially for configuration and configuration, is limited for now.

Today, most of the programming languages ​​are in imperative form and written step by step to the instructions it needs. Apple’s new open source programming language PKL makes it possible to code with a key-value format similar to JSON. In other words, instead of specifying the actions one by one, for example, giving a step-by-step pasta recipe, we say “Make pasta with these ingredients” and do the rest. Pkl (Pickle) It handles it.

on smartphones many different settings is available. These settings include many different directions such as screen brightness, Wi-Fi password, game rules. To change these settings, we either need to navigate the menus and make individual selections or write code. PKL aims to facilitate this process. Instead of writing instructions desired result we should specify It is enough.

Can make coding easier

In this open source programming language controlsData privacy and security are also ensured by using features such as sandbox technique and low priority. Additionally, according to Apple, this programming language has a versatile structure that enables easy configuration.

Apple has been using Pkl for several years

pkl

In fact, before PKL was made available to the public as open source, It was used by Apple. Now, various communities will also have access to this language. A wider audience will also be able to get involved in the field of coding. Currently PKL’s VS Code and Neovim It has a basic editor plugin that provides syntax and code folding for

For developers’ convenience Apple, It also uses the usual syntax in Pkl. This language also includes commands such as classes, functions, and loops. For example, we can create duplicate databases similar to our database with a single command. Moreover pkl programsIt can also be easily converted into YAML, JSON and XML. It is also possible to set restrictions, share packages, and connect PKL with different languages ​​such as Swift, Go, Java. In addition, the Pkl editor comes with the support of an editor that provides instructions within itself.


source site-40