Swift Package Index



  • The latest stable release is 0.1.1. Released 3 years ago.
  • The last commit to master was 3 years ago.

Swift Version Compatibility

  • 0.1.1 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.1 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

SwiftSyntax

This repository is separated package of SwiftSyntax.

SwiftSyntax: https://github.com/apple/swift/tree/master/tools/SwiftSyntax

This package can be use from SwiftPM.

Requirement

Install newer swift which supports libSyntax API. 2017-09-18 snapshot is ok.

https://swift.org/download/#snapshots

And specify it via TOOLCHAINS environment variable.

example

$ export TOOLCHAINS=org.swift.3020170918a
$ swift build

Using example

See SwiftPack code using SwiftSyntax.

https://github.com/omochi/SwiftPack.git

License

This repository is fork of apple/swift. This is Apache License.