apple / apple/pkl

Value provenance tracking

Open
#1,197 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

To improve debugging, it would be beneficial to track the provenance of values (where values come from), and show this information in error messages, or through specialized evaluation modes.

Some ideas:

* Capture both source sections and stack frames when values are initialized
* Map source sections in rendered output (e.g. YAML) back to provenance information

Contributor guide

Open the contributing guide

Research direction

Start by tracing how values are initialized, how source sections and stack frames are represented, and how rendered YAML output is produced. Define the provenance information needed for error messages and specialized evaluation modes, then verify that source sections in rendered output map back to their originating values.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.