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

Delete _InternalSwiftSyntaxParser And Its Build Infrastructure #61898

Merged
merged 2 commits into from Nov 4, 2022

Conversation

CodaFi
Copy link
Member

@CodaFi CodaFi commented Nov 3, 2022

This is the start of the removal of the C++ implementation of libSyntax in favor of the new Swift Parser and Swift Syntax libraries. Now that the swift-syntax project has switched the SwiftSyntaxParser library over to being a thin wrapper around the Swift Parser, there is no longer any reason we need to retain any libSyntax infrastructure in the swift compiler.

As a first step, delete the infrastructure that builds lib_InternalSwiftSyntaxParser and convert any scripts that mention it to instead mention the static mirror libraries. The --swiftsyntax build-script flag has been retained and will now just execute the SwiftSyntax and Swift Parser builds with the just-built tools.

This is the start of the removal of the C++ implementation of libSyntax
in favor of the new Swift Parser and Swift Syntax libraries. Now that
the Swift Parser has switched the SwiftSyntaxParser library over to
being a thin wrapper around the Swift Parser, there is no longer any
reason we need to retain any libSyntax infrastructure in the swift
compiler.

As a first step, delete the infrastructure that builds
lib_InternalSwiftSyntaxParser and convert any scripts that mention
it to instead mention the static mirror libraries. The --swiftsyntax
build-script flag has been retained and will now just execute the
SwiftSyntax and Swift Parser builds with the just-built tools.
@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci test

@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci test

@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci test Linux

@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci smoke test Linux

1 similar comment
@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci smoke test Linux

@CodaFi
Copy link
Member Author

CodaFi commented Nov 3, 2022

@swift-ci smoke test

1 similar comment
@CodaFi
Copy link
Member Author

CodaFi commented Nov 4, 2022

@swift-ci smoke test

@CodaFi
Copy link
Member Author

CodaFi commented Nov 4, 2022

apple/swift-integration-tests#103

@swift-ci test Linux

@CodaFi CodaFi merged commit 7944635 into apple:main Nov 4, 2022
@CodaFi CodaFi deleted the i-write-syns-not-tragedies branch November 4, 2022 15:21
@CodaFi CodaFi mentioned this pull request Nov 16, 2022
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.

None yet

1 participant