pkl / PR 1822

Typed syntax for pkl:syntax

apple/pkl#1822 openmixed

+8069/−7lines
40files
0comments
2026-08-13opened
-merged

What it touches

test: 22 main: 16 build: 1 other: 1

Modules: pkl-core (34), pkl-parser (3), pkl-formatter (2), stdlib (1)

Architectural impact (arcade-agent diff_impact)

8files mapped to the graph
239entities in those files
Core, Formatter, Parsercomponents
2869entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.runtime.Identifier308
org.pkl.parser.syntax.generic.Node.Node214
org.pkl.formatter.Builder.nodes77
org.pkl.core.stdlib.VmObjectFactory47
org.pkl.formatter.Formatter.Formatter40
org.pkl.formatter.Builder.Builder16

Computed against the current default branch, not the PR base commit; files renamed or deleted since then are unmatched. Downstream counts are a reverse-dependency closure to depth 3 and over-approximate real blast radius.

Build & CI relevance

Files

buildpkl-core/pkl-core.gradle.kts
mainpkl-core/src/main/java/org/pkl/core/runtime/Identifier.java
mainpkl-core/src/main/java/org/pkl/core/runtime/ModuleCache.java
mainpkl-core/src/main/java/org/pkl/core/runtime/SyntaxModule.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/VmObjectFactory.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/GenericNodeNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/NodeNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/ParserNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/RendererNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/SyntaxNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/syntax/package-info.java
mainpkl-core/src/main/resources/org/pkl/core/errorMessages.properties
testpkl-core/src/test/files/LanguageSnippetTests/input-helper/syntax/spans/sample.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/expressions.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/moduleStructure.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/objectMembers.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/parentheses.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/render.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/spans.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/toNode.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/transform.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/traversal.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/syntax/types.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/cannotFindStdLibModule.err
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/expressions.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/moduleStructure.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/objectMembers.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/parentheses.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/render.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/spans.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/toNode.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/transform.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/traversal.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/syntax/types.pcf
mainpkl-formatter/src/main/java/org/pkl/formatter/Builder.java
mainpkl-formatter/src/main/java/org/pkl/formatter/Formatter.java
mainpkl-parser/src/main/java/org/pkl/parser/GenericParser.java
mainpkl-parser/src/main/java/org/pkl/parser/GenericParserImpl.java
mainpkl-parser/src/main/java/org/pkl/parser/syntax/generic/Node.java
otherstdlib/syntax.pkl