-
Notifications
You must be signed in to change notification settings - Fork 50
Document specially integrated modules and integration process. #170
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
Conversation
5b94359
to
80f4fd8
Compare
@rxwei and I talked offline about this, we will be meeting up tomorrow or next week to discuss this proposal. |
d66f0fa
to
28a1b29
Compare
28a1b29
to
80f4fd8
Compare
@swift-ci please test |
| `_MatchingEngine` | `SwiftCompilerSources/Sources/ExperimentalRegex` and `stdlib/public/_MatchingEngine` | | ||
| `_CUnicode` | `stdlib/public/_StringProcessing` | | ||
| `_StringProcessing` | `stdlib/public/_StringProcessing` | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good for an initial integration doc, but I do think we'll want some CMake, perhaps in the Swift repo, that would add or remove certain sub-folders for the stdlib, like the engine itself.
- Do not modify the existing ABI between the regular expression parser and the Swift compiler unless absolutely necessary. | ||
- Always minimize the number of lockstep integrations, i.e. when apple/swift-experimental-string-processing and apple/swift have to change together. | ||
- In `_StringProcessing`, do not write fully qualified references to symbols in `_CUnicode`, and always wrap `import _CUnicode` in a `#if canImport(_CUnicode)`. This is because `_CUnicode` is built as part of `_StringProcessing` with CMake. | ||
- In `_MatchingEngine`, do not write fully qualified references to `_MatchingEngine` itself. This is because `_MatchingEngine` is built as `ExperimentalRegex` in `SwiftCompilerSources/` with CMake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And related, we should rename it to RegexParse
or something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but I think it is better for this document to describe the current state. We can patch it once the name has changed.
80f4fd8
to
3ab3b17
Compare
@swift-ci please test |
Switch to using swift/main as the integration branch for apple/swift-experimental-string-processing. Integration process documentation: swiftlang/swift-experimental-string-processing#170 Friend PR: swiftlang/swift-experimental-string-processing#192
No description provided.