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

[swift2objc] Support parsing multiple modules #1774

Open
liamappelbe opened this issue Dec 2, 2024 · 1 comment
Open

[swift2objc] Support parsing multiple modules #1774

liamappelbe opened this issue Dec 2, 2024 · 1 comment
Assignees

Comments

@liamappelbe
Copy link
Contributor

This should be pretty easy to implement. We'll end up with a symbolgraph json for each, passing a List<Json> to parseAst, and we basically just merge all their symbols and relations into one big ParsedSymbolgraph, before passing it to parseDeclarations as normal.

Also parse Foundation by default, in addition to the user's requested modules. Without these changes, most modules will fail to parse because they depend on stuff from Foundation.

@liamappelbe
Copy link
Contributor Author

When we're parsing Foundation by default, we need to make sure that we don't generate bindings for the Foundation APIs, unless they're needed as a transitive dep. The transitive deps check is related to filtering, so I'll wait for that to land before implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant