Skip to content

[WIP] Work towards SwiftExtract, a reusable Swift analysis module#774

Draft
ktoso wants to merge 1 commit into
swiftlang:mainfrom
ktoso:wip-swift-extract
Draft

[WIP] Work towards SwiftExtract, a reusable Swift analysis module#774
ktoso wants to merge 1 commit into
swiftlang:mainfrom
ktoso:wip-swift-extract

Conversation

@ktoso
Copy link
Copy Markdown
Collaborator

@ktoso ktoso commented May 27, 2026

🚧 🚧 🚧 Early WIP, not worth reviewing yet 🚧 🚧 🚧

This will take a while to finish up but this introduces a new core foundational module called SwiftExtract that allows for analysis of swift code into an analysis result that then source generators -- such as swift-java can use.

This is to prepare reuse from other language generators, with a strong well maintianed analysis core that swift-java has spearheaded here.

This is a massive "move stuff around" so reviewing everyting might be hard but the long term benefit will be massive.

@ktoso ktoso changed the title Separate out SwiftExcract, a reusable Swift analysis module [WIP] Introduce SwiftExcract, a reusable Swift analysis module May 27, 2026
@ktoso ktoso force-pushed the wip-swift-extract branch from b5fb44d to a434174 Compare May 27, 2026 07:11
@ktoso ktoso changed the title [WIP] Introduce SwiftExcract, a reusable Swift analysis module [WIP] Introduce SwiftExtract, a reusable Swift analysis module May 27, 2026
@ktoso ktoso changed the title [WIP] Introduce SwiftExtract, a reusable Swift analysis module [WIP] Work towards SwiftExtract - a reusable Swift analysis module May 27, 2026
@ktoso ktoso changed the title [WIP] Work towards SwiftExtract - a reusable Swift analysis module [WIP] Work towards SwiftExtract, a reusable Swift analysis module May 27, 2026
This will take a while to finish up but this introduces a new core
foundational module called `SwiftExtract` that allows for analysis of
swift code into an analysis result that then source generators -- such
as swift-java can use.

This is to prepare reuse from other language generators, with a strong
well maintianed analysis core that swift-java has spearheaded here.

This is a massive "move stuff around" so reviewing everyting might be
hard but the long term benefit will be massive.
@ktoso ktoso force-pushed the wip-swift-extract branch from ed7a221 to 1cf0a25 Compare May 28, 2026 08:22
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