May 18, 2025
Trending News

Apple has announced a new open source programming language: here’s what is known about “Pkl”…

  • February 5, 2024
  • 0

Nowadays, most 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

Apple has announced a new open source programming language: here’s what is known about “Pkl”…

Nowadays, most 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 encode with a key-value format similar to JSON. In other words, instead of specifying the actions one by one, for example by giving a step-by-step pasta recipe, we say “Make pasta with these ingredients” and do the rest. Pkl (pickle) It takes care of it.

on smartphones many different settings is available. These settings cover many different directions such as screen brightness, WiFi password and game rules. To change these settings we must navigate through the menus and make individual selections or write code. PKL wants to facilitate this process. Instead of writing instructions desired result we must specify It is enough.

Can make coding easier

pkl

In this open source programming language checksData privacy and security are also ensured through the use of features such as sandbox technique and low priority. Moreover, according to Apple, this programming language has a versatile structure that allows for easy configuration.

Apple has been using Pkl for several years

pkl

Before PKL was made available to the public as open source, It was used by Apple. Now different 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 VS Code and Neovim It has a basic editor plugin that provides syntax and code folding

For the convenience of developers Apple,It also uses the usual syntax in Pkl. This language also contains 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 to YAML, JSON and XML. It is also possible to set restrictions, share packages and connect PKL with different languages ​​such as Swift, Go, Java. Moreover, the Pkl editor comes with the support of an editor that provides instructions on its own.

Source: Web Tekno

Leave a Reply

Your email address will not be published. Required fields are marked *