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 (
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.
Build & Run
Building the entire project can be done by simply calling:
This is equivalent to
The dev version of the tool will be generated to
Compile and run the entire tests by:
Swift Transform is available under the Apache License 2.0. See the LICENSE file for more info.