Skip to content

[swift/main] Update swift main #607

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

Merged
merged 44 commits into from
Aug 27, 2022

Conversation

milseman
Copy link
Member

No description provided.

rxwei and others added 30 commits July 16, 2022 00:27
- Compare with NS regular expression
- Save comparison results
- Save and compare estimated compile times
We didn't end up choosing these, remove their
lexing code. `#|...|#` remains to test the
experimental syntax.
A bad one because I have no idea how to use Swift Charts
…ertions (swiftlang#547)

- Adds `matchBuiltin` and adjusts `assertBy` to use a switch in processor instead of taking a generic assertion fn
- Adds a `CharacterClass` atom
Implements a specialized quantification instruction for repeated matching of a character, dot, character class, or custom character class
…ar-mode

Fix matching of backreferences in scalar mode
[Optimization] Add instructions for consuming non-newlines and advancing in scalar view
rctcwyvrn and others added 14 commits August 11, 2022 11:02
Backreferences do not guarantee forward progress
- make charts prettier
- underscore compileroptions
- cleanup debug
Ideally this would be done in Package.swift instead of having to add a flag to swift build but alas it appears that it is not possible
- https://forums.swift.org/t/swiftpm-and-conditional-compilation/36874
- https://forums.swift.org/t/compilation-conditions-and-swift-packages/34627/4
More benchmarker features

- Loading results from a file
- Measuring compile times (via a spi function in Regex)
- Comparing compile times and against NSRegularExpression
- Saving comparison results as csv
- Charts (based on swiftlang#585)
- Added the ability to set compiler options to the SPI interface 
- Added metrics and tracing enabled as options for the compiler
- Added CLI options for turning on metrics/tracing for benchmarker regexes
- Added parse time measurements to the benchmarker
Don't assume quoted literals are non-empty during bytecodegen
This was renamed to `init(verbatim:)`, but we
never removed the old overload. Deprecate it, and
suggest using `init(verbatim:)` instead.

rdar://98737122
@hamishknight
Copy link
Contributor

This should be targeting the swift/main branch, right?

@milseman milseman changed the base branch from main to swift/main August 26, 2022 20:06
@milseman
Copy link
Member Author

@swift-ci please test

@milseman milseman merged commit 91a8219 into swiftlang:swift/main Aug 27, 2022
@milseman milseman deleted the update_swift_main branch August 27, 2022 12:17
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.

5 participants