Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation provenance #19

Open
joelburget opened this issue Jun 15, 2021 · 1 comment
Open

Evaluation provenance #19

joelburget opened this issue Jun 15, 2021 · 1 comment

Comments

@joelburget
Copy link
Owner

Create new provenance type that summarizes where a value was evaluated.

@joelburget
Copy link
Owner Author

Currently thinking something like this:

position := {line: int; col: int}
range := {begin: position; end: position}

// A source location is either in the implementation of LVCA itself or a term
source_location :=
  | Implementation{filename: string; range}
  | Term(term)

// A term is either computed from others or written directly
provenance :=
  | Computed{from: list term; at: source_location}
  | Located{at: source_location}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant