Skip to content

A source-to-source compiler that transforms Swift code and produces the equivalent source code in other programming languages.

License

Notifications You must be signed in to change notification settings

yanagiba/swift-transform

Repository files navigation

Swift Transform

swift-ast 0.19.9 swift-lint master swift-transform pending

Travis CI Status codecov Swift 5.1 Swift Package Manager Platforms License

Swift Transform (swift-transform) enables source-to-source transformation that takes Swift code as input and produces the equivalent source code in other programming languages.

Swift Transform relies on Swift Abstract Syntax Tree (swift-ast) of the source code for better accuracy and efficiency.

Swift Transform is part of Yanagiba Project. Yanagiba umbrella project is a toolchain of compiler modules, libraries, and utilities, written in Swift and for Swift.

A Work In Progress

Both Swift Abstract Syntax Tree and Swift Transform are in active development.

Swift Transform is under active development, and is NOT recommended for production use at this time.

Please also check out the status from swift-ast.

Requirements

Development

Build & Run

Building the entire project can be done by simply calling:

make

This is equivalent to

swift build

The dev version of the tool will be generated to .build/debug/swift-transform.

Running Tests

Compile and run the entire tests by:

make test

Contact

Ryuichi Sai

License

Swift Transform is available under the Apache License 2.0. See the LICENSE file for more info.

About

A source-to-source compiler that transforms Swift code and produces the equivalent source code in other programming languages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages