Releases: keith/swift-syntax-bazel
Update SwiftSyntax
- This includes swiftlang/swift-syntax@ef12dea
- Fixes
SwiftSyntaxBuilder - Removes old
_CSwiftSyntaxlibrary
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "11025d0b050dec10af235ae77315038d598acba49b9274c386d419162ec85c25",
strip_prefix = "swift-syntax-bazel-2-17-23-dev2",
url = "https://github.com/keith/swift-syntax-bazel/archive/2-17-23-dev2.tar.gz",
)Update SwiftSyntax
This includes swiftlang/swift-syntax@8b8eb44
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "836f918201ea52e43f8ada280831b10a6fae65c63ac6b2536b925dedda4f8468",
strip_prefix = "swift-syntax-bazel-1-18-23-dev",
url = "https://github.com/keith/swift-syntax-bazel/archive/1-18-23-dev.tar.gz",
)Improved memory usage with new parser
This includes this commit swiftlang/swift-syntax@e1f771e which should reduce memory usage with the new syntax parser library
First pre-release with new Swift parser
The Swift team is working on replacing the old C++ parser with a new Swift based version. This is still in the alpha / beta phase, but this pre-release includes swift-syntax at this commit swiftlang/swift-syntax@1bf320a dropping the need for the _InternalSwiftSyntaxParser library entirely. At this point SwiftLint has moved to this new parser, so it's pretty solid, but there are still potential unknown issues. You may prefer to use this to avoid the library usage, or be forward looking, but you can also stick to the Xcode specific tags for now. Eventually this branch will replace that usage entirely.
14.1.0.14B47b
This release updates to SwiftSyntax from Swift 5.7.1. At the time Xcode 14.1 RC 2 is the newest release, it's possible this changes again with the final release.
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "379e3d4238acf313da444663243f20a479040b765324f743ce3120055b4e9772",
strip_prefix = "swift-syntax-bazel-14.1.0.14B47b",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/14.1.0.14B47b.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()14.0.0.14A309
This release updates to SwiftSyntax from Swift 5.7 from Xcode 14 RC 1, it's possible this doesn't change again before the release.
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "ca7f3a8099e4e7a454f45abea1ededabe209d9f6964df87566a142e3b281fe24",
strip_prefix = "swift-syntax-bazel-14.0.0.14A309",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/14.0.0.14A309.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()14.0.0.14A5294e (beta 5)
This release updates to SwiftSyntax from Swift 5.7 from Xcode 14 beta 5, it's possible this doesn't change again before the release.
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "ec187e0c299ba43458da8a2623ff7f0884f1fb44c72432444ce1581f172393e6",
strip_prefix = "swift-syntax-bazel-14.0.0.14A5294e",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/14.0.0.14A5294e.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()13.3.13E113
This release updates to SwiftSyntax from Swift 5.6
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "f83b8449f84e29d263d2b0ceb9d2ae7f88c9f2a81f4b10035e94073664507507",
strip_prefix = "swift-syntax-bazel-13.3.13E113",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/13.3.13E113.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()13.2.1.13C100
This release switched to using an actual static version of the framework produced here https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/tag/5.5.2 instead of managing a dylib. This has been tested with Xcode 13.2.1 but likely works for other versions with Swift 5.5 as well.
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "c05d0c21ccb4beb62428e49187a4bf2c3c8f2e0d46d53324180aff7cadf80be6",
strip_prefix = "swift-syntax-bazel-13.2.1.13C100",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/13.2.1.13C100.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()13.0.13A233
This release is compatible with Xcode 13.0 RC 1 (which is also the release version) and Swift 5.5 (it might work with other 13.x betas but hasn't been tested).
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_keith_swift_syntax_bazel",
sha256 = "e59fb838f53a86367c0ae0466eeb6c83f0955b753f91eb16d89ef5e8bbf8d47c",
strip_prefix = "swift-syntax-bazel-13.0.13A233",
url = "https://github.com/keith/swift-syntax-bazel/archive/refs/tags/13.0.13A233.tar.gz",
)
load("@com_github_keith_swift_syntax_bazel//:deps.bzl", "swift_syntax_deps")
swift_syntax_deps()