Skip to content

Added Span information to JSON #74

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

Merged
merged 12 commits into from
May 2, 2025
Merged

Added Span information to JSON #74

merged 12 commits into from
May 2, 2025

Conversation

dkcumming
Copy link
Collaborator

Each item that comes out of the compiler has a Span, this PR now includes those spans in the JSON output. Each Span in the JSON is an id: usize that maps to a tuple (path:String, col_i:usize, row_i:usize, col_e:usize, row_e:usize) to locate the source position. The spans are sorted on the id, however I noticed some numbers are missing - perhaps we need to investigate what we are missing.

@dkcumming dkcumming self-assigned this May 2, 2025
@ehildenb ehildenb merged commit e3e1905 into master May 2, 2025
3 checks passed
@ehildenb ehildenb deleted the dc/spans branch May 2, 2025 04:02
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

Successfully merging this pull request may close these issues.

2 participants