mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add _MatchingEngine and _StringProcessing modules.
These modules are part of the experimental declarative string processing feature. If accepted to the Standard Library, _StringProcessing will be available via implicit import just like _Concurrency, though _MatchingEngine will still be hidden as an implementation detail. `_MatchingEngine` will contain the general-purpose pattern matching engine ISA, bytecode, and executor. `_StringProcessing` will contain regular expression and pattern matching APIs whose implementation depends on the matching engine.. Also consolidates frontend flag `-enable-experimental-regex` as `-enable-experimental-string-processing`. Resolves rdar://85478647.
This commit is contained in:
@@ -334,6 +334,8 @@ def main():
|
||||
extra_args = extra_args + ['-enable-experimental-concurrency']
|
||||
if args.enable_experimental_distributed:
|
||||
extra_args = extra_args + ['-enable-experimental-distributed']
|
||||
if args.enable_experimental_string_processing:
|
||||
extra_args = extra_args + ['-enable-experimental-string-processing']
|
||||
if args.swift_version:
|
||||
extra_args = extra_args + ['-swift-version', '%s' % args.swift_version]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user