PklUnofficial

Unofficial language documentation

Pkl

Unofficial guide for Pkl. Learn the configuration model, language rules, and ecosystem surfaces; apple/pkl is the Apple project and canonical source.

LearnBuild the first mental model.Values, objects, modules, imports, constraints, and rendering. CLIRun Pkl in real workflows.Evaluate modules, test packages, render files, and inspect projects. APIConnect Pkl to systems.Bindings, server mode, codegen, external readers, and package docs. SpecKeep the language contract visible.Syntax, object semantics, modules, resources, output, and coverage notes.
source: Markdown build: static HTML status: unofficial

Pkl

This is an unofficial documentation site for the Pkl language. It is not the official Apple Pkl documentation.

The site is organized around three reader jobs:

values, templates, functions, classes, constraints, imports, resources, projects, advanced syntax, debugging, evaluation, and output.

semantics, annotations, operators, resources, projects, modules, standard library expectations, diagnostics, and output formats easy to scan.

diagnostics, standard library expectations, output formats, and coverage notes so readers can tell what is language behavior and what is this site's editorial boundary.

compatibility, upstream fixtures, and contributor workflow close to the language pages.

Why This Structure

The original Pkl docs mix learning material, reference material, and ecosystem surfaces in ways that make it hard to choose a path. This version keeps the learning flow linear, keeps reference pages scannable, and treats language rules as a contract that can be compared with official Pkl behavior.

Current Focus

This site treats Pkl as the primary subject. It teaches the language model first, then marks source links, compatibility notes, and documentation coverage where a reader needs to know how this unofficial site relates to the official project.

Map

durations, and data sizes.

overlays.

lambdas, and callable values.

objects, and method calls.

source graphs, and cache boundaries.

amendments, and rendering shape.

generics, unions, classes, callable annotations, and numeric constraints.

factories, class property constraints, and callable boundaries.

allowlists, and external readers.

local dependencies, and publishing flow.

receiver keywords, casts, annotations, glob patterns, and name resolution.

typing, constraints, evaluation, and rendering.

compatibility boundary, and official source links.

commands, package commands, and output options.

external resource reader boundaries.

late binding, and receiver keywords.

constants, and extension modifiers.

DataSize in compact form.

external readers.

metadata, and publishing boundaries.

spreads, predicates, receivers, and glob patterns.

official standard library reference.

CLI-backed editor workflows.

examples, and release artifacts.

notes, and fixtures without inheriting the upstream information architecture.