paris, to swift
@paris@hachyderm.io avatar

heading to community day as part of summit. come say hi to talk about , , the cool stuff i’m up to, or governance today or throughout the week

hope to see you 💖

paris, to SanJose
@paris@hachyderm.io avatar

my friend dan is in next week at Bay LISA doing a demo of a new configuration language. if you’re in south bay, go for me!

https://github.com/apple/pkl

https://www.meetup.com/baylisa/events/299942479

frankel, to random
@frankel@mastodon.top avatar
ryguw, to apple

On Feb 1st, 2024, #Apple released Pkl. Pronounced "pickle", it is a complete configuration scripting language, including a JSON/YAML/XML/more compiler, a language server, bunch of IDE plugins, and of course direct bindings for your favorite programming language, for quick adoption. A #Python binding seems missing.

I like how a Pkl config's specs and values are colocated. Always hated maintaining separate schemas for very simple configs.

#pkl #json #yaml #java #kotlin #golang #go #config

konstantin, to foss
@konstantin@social.headbright.eu avatar

Check this out, Apple open sourced a configuration language called Pkl with support for templating and validation.

https://pkl-lang.org/main/current/index.html

finestructure, to macos
@finestructure@mastodon.social avatar

The binary in the repo doesn't seem to be notarised, so the only way to test Pkl right now on macOS is via Docker. I've put together a little Dockerfile to make getting started easier:

https://gist.github.com/finestructure/7d99984f744dc9f36da7b1f26def4525

Usage:

curl -O https://gist.githubusercontent.com/finestructure/7d99984f744dc9f36da7b1f26def4525/raw/a7efb23246ddafabaab95471e9122fed9b429e50/Dockerfile
docker build -t pkl -f Dockerfile
docker run --rm -it -v $PWD:/host -w /host --entrypoint bash pkl

https://pkl-lang.org/main/current/index.html

finestructure,
@finestructure@mastodon.social avatar

Or to repair the macOS binary, run

xattr -d com.apple.quarantine ./pcl

via https://github.com/apple/pkl/issues/4#issuecomment-1925273738

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • everett
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • khanakhh
  • rosin
  • Youngstown
  • slotface
  • mdbf
  • cisconetworking
  • kavyap
  • cubers
  • DreamBathrooms
  • megavids
  • ngwrru68w68
  • Durango
  • osvaldo12
  • tacticalgear
  • modclub
  • normalnudes
  • Leos
  • ethstaker
  • GTA5RPClips
  • tester
  • anitta
  • provamag3
  • lostlight
  • All magazines