Skip to content

Add tree-sitter-swift extractor scaffolding and YEAST desugaring#21812

Draft
asgerf wants to merge 5 commits intogithub:mainfrom
asgerf:asgerf/swift-yeast-1
Draft

Add tree-sitter-swift extractor scaffolding and YEAST desugaring#21812
asgerf wants to merge 5 commits intogithub:mainfrom
asgerf:asgerf/swift-yeast-1

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented May 7, 2026

  • Adds boilerplate for a tree-sitter based extractor using tree-sitter-swift.
  • Uses YEAST to perform a dummy desugaring.
  • A CodeQL test verifies that the desugaring is happening.
  • Adds AGENTS.md to help with worktrees

The extractor is placed in a folder called unified because the intent is to have more languages in there eventually.

Some follow-up work I have not included in the PR but working on:

  • Corpus-style extractor tests with schema validation
  • Changing the output schema


/** Holds if this location starts strictly before the specified location. */
pragma[inline]
predicate strictlyBefore(Location other) {
@asgerf
Copy link
Copy Markdown
Contributor Author

asgerf commented May 7, 2026

Rerun has been triggered: 1 restarted 🚀

@asgerf asgerf added the no-change-note-required This PR does not need a change note label May 7, 2026
@asgerf asgerf force-pushed the asgerf/swift-yeast-1 branch from 5011bfc to 2802819 Compare May 7, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants