Skip to content

feat: resolve links and footnotes through document reconstruction - #1014

Merged
david-christiansen merged 2 commits into
mainfrom
footnote-reconstruction
Oct 1, 2026
Merged

david-christiansen merged 2 commits into
mainfrom
footnote-reconstruction

Conversation

@david-christiansen

@david-christiansen david-christiansen commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Replaces type-class-based compilation of footnote and link labels references with a use of document reconstruction data at the end. This allows blocks to be compiled incrementally during elaboration instead of all at the end and makes it easier to produce good errors.

The LSP support for footnotes and labeled URLs now also uses as many snapshots as are currently available instead of waiting for the final snapshot.

Along the way, fixed some bugs in footnote resolution (especially recursive).

Replaces type-class-based compilation of footnote and link labels
references with a use of document reconstruction data at the end. This
allows blocks to be compiled incrementally during elaboration instead
of all at the end and makes it easier to produce good errors.

Along the way, fixed some bugs in footnote resolution (especially
recursive).
@david-christiansen
david-christiansen added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit 6826a42 Oct 1, 2026
14 checks passed
@david-christiansen
david-christiansen deleted the footnote-reconstruction branch October 1, 2026 12:43
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.

1 participant