|
| 1 | +# Examples |
| 2 | + |
| 3 | +- Command line tool to add one to every integer literal in a source file [AddOneToIntegerLiterals.swift](https://github.com/apple/swift-syntax/blob/main/Examples/AddOneToIntegerLiterals.swift). |
| 4 | +- Code-generate a simple source file using SwiftSyntaxBuilder [CodeGenerationUsingSwiftSyntaxBuilder.swift](https://github.com/apple/swift-syntax/blob/95fe6182b755346eee74b499109b4ab9eaf38651/Examples/CodeGenerationUsingSwiftSyntaxBuilder.swift) |
| 5 | + |
| 6 | +## Some Example Usages |
| 7 | + |
| 8 | +[**Swift AST Explorer**](https://swift-ast-explorer.kishikawakatsumi.com/): a Swift AST visualizer. |
| 9 | + |
| 10 | +[**swift-format**](https://github.com/apple/swift-format): formatting technology for Swift source code. |
| 11 | + |
| 12 | +[**Swift Stress Tester**](https://github.com/apple/swift-stress-tester): a test driver for sourcekitd and Swift evolution. |
| 13 | + |
| 14 | +[**SwiftSemantics**](https://github.com/SwiftDocOrg/SwiftSemantics): parses Swift code into its constituent declarations. |
| 15 | + |
| 16 | +[**Sitrep**](https://github.com/twostraws/Sitrep): A source code analyzer for Swift projects |
| 17 | + |
| 18 | +[**SwiftRewriter**](https://github.com/inamiy/SwiftRewriter): a Swift code formatter. |
| 19 | + |
| 20 | +[**SwiftPack**](https://github.com/omochi/SwiftPack): a tool for automatically embedding Swift library source. |
| 21 | + |
| 22 | +[**Periphery**](https://github.com/peripheryapp/periphery): a tool to detect unused code. |
| 23 | + |
| 24 | +[**BartyCrouch**](https://github.com/Flinesoft/BartyCrouch): a tool to incrementally update strings files to help App localization. |
| 25 | + |
| 26 | +[**Muter**](https://github.com/muter-mutation-testing/muter): Automated mutation testing for Swift |
| 27 | + |
| 28 | +[**Swift Variable Injector**](https://github.com/LucianoPAlmeida/variable-injector): a tool to replace string literals with environment variables values. |
| 29 | + |
| 30 | +[**Pecker**](https://github.com/woshiccm/Pecker): a tool to detect unused code based on [SwiftSyntax](https://github.com/apple/swift-syntax.git) and [IndexStoreDB](https://github.com/apple/indexstore-db.git). |
| 31 | + |
| 32 | +[**Piranha**](https://github.com/uber/piranha): a tool for refactoring code related to feature flags. |
| 33 | + |
| 34 | +[**STAR**](https://github.com/thumbtack/star): a tool to find how often specified Swift type(s) are used in a project.## Some Example Users |
| 35 | + |
| 36 | +[**Swift AST Explorer**](https://swift-ast-explorer.kishikawakatsumi.com/): a Swift AST visualizer. |
| 37 | + |
| 38 | +[**swift-format**](https://github.com/apple/swift-format): formatting technology for Swift source code. |
| 39 | + |
| 40 | +[**Swift Stress Tester**](https://github.com/apple/swift-stress-tester): a test driver for sourcekitd and Swift evolution. |
| 41 | + |
| 42 | +[**SwiftSemantics**](https://github.com/SwiftDocOrg/SwiftSemantics): parses Swift code into its constituent declarations. |
| 43 | + |
| 44 | +[**Sitrep**](https://github.com/twostraws/Sitrep): A source code analyzer for Swift projects |
| 45 | + |
| 46 | +[**SwiftRewriter**](https://github.com/inamiy/SwiftRewriter): a Swift code formatter. |
| 47 | + |
| 48 | +[**SwiftPack**](https://github.com/omochi/SwiftPack): a tool for automatically embedding Swift library source. |
| 49 | + |
| 50 | +[**Periphery**](https://github.com/peripheryapp/periphery): a tool to detect unused code. |
| 51 | + |
| 52 | +[**BartyCrouch**](https://github.com/Flinesoft/BartyCrouch): a tool to incrementally update strings files to help App localization. |
| 53 | + |
| 54 | +[**Muter**](https://github.com/muter-mutation-testing/muter): Automated mutation testing for Swift |
| 55 | + |
| 56 | +[**Swift Variable Injector**](https://github.com/LucianoPAlmeida/variable-injector): a tool to replace string literals with environment variables values. |
| 57 | + |
| 58 | +[**Pecker**](https://github.com/woshiccm/Pecker): a tool to detect unused code based on [SwiftSyntax](https://github.com/apple/swift-syntax.git) and [IndexStoreDB](https://github.com/apple/indexstore-db.git). |
| 59 | + |
| 60 | +[**Piranha**](https://github.com/uber/piranha): a tool for refactoring code related to feature flags. |
| 61 | + |
| 62 | +[**STAR**](https://github.com/thumbtack/star): a tool to find how often specified Swift type(s) are used in a project. |
0 commit comments