You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,7 @@ If you can’t find it in your Schemes, you need to manually add it using Produc
43
43
44
44
### XCTests
45
45
46
-
The `SwiftSyntaxParser` module (the legacy parser) of this repository depends on the C++ parser library (`_InternalSwiftSyntaxParser.dylib`) to parse source code.
47
-
The syntax node definitions of that parser library need to match those used by your SwiftSyntax checkout.
48
-
Most of the time, the parser library included in the latest Swift Development Snapshot will fulfill this requirement.
49
-
50
-
To run the tests in Xcode, select the latest Swift Development Snapshot in Xcode -> Toolchains, select the SwiftSyntax-Package scheme and hit Product -> Test.
46
+
To run the tests in Xcode, select the SwiftSyntax-Package scheme and hit Product -> Test.
51
47
52
48
You can also run the tests from the command line using
53
49
```bash
@@ -68,7 +64,7 @@ Tip: Running SwiftSyntax’s self-parse tests takes the majority of testing time
68
64
69
65
### `lit`-based tests
70
66
71
-
A few tests of the `SwiftSyntaxParser` module (the legacy parser), which test the interaction between SwiftSyntax and the C++ parser library (`_InternalSwiftSyntaxParser.dylib`) are based LLVM’s `lit` and `FileCheck` tools.
67
+
A few tests are based LLVM’s `lit` and `FileCheck` tools.
72
68
To run these, build `FileCheck`, e.g. by building the Swift compiler and run the tests using the following command:
73
69
```bash
74
70
./build-script.py test --toolchain /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-<recent date>.xctoolchain/usr --skip-lit-tests --filecheck-exec /path/to/build/Release+Asserts/llvm-macosx-x86_64/bin/FileCheck
Copy file name to clipboardExpand all lines: Sources/SwiftParser/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
## Overview
2
2
3
-
The `SwiftParser` framework implements a parser that accepts Swift source text
4
-
as input and produces a SwiftSyntax syntax tree. This module is under active development and is not yet ready to completely replace `SwiftSyntaxParser`. For more information about the design of this module, please see [the module documentation](SwiftParser.docc/SwiftParser.md).
3
+
The `SwiftParser` framework implements a parser that accepts Swift source text as input and produces a SwiftSyntax syntax tree.
Copy file name to clipboardExpand all lines: Sources/SwiftParser/SwiftParser.docc/SwiftParser.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,7 @@ A parser for the Swift programming language.
4
4
5
5
## Overview
6
6
7
-
The `SwiftParser` framework implements a parser that accepts Swift source text
8
-
as input and produces a SwiftSyntax syntax tree. This module is under active development and is not yet ready to completely replace `SwiftSyntaxParser`.
7
+
The `SwiftParser` framework implements a parser that accepts Swift source text as input and produces a SwiftSyntax syntax tree.
0 commit comments