kateinoigakukun / Touchtypist
Reduce up your build time. A tool that rewrites your source code as type annotated.
Stars: ✭ 113
Programming Languages
swift
15916 projects
TouchTypist
Installation
TODO
Usage
Rewrite single file
$ swiftc -frontend -dump-ast sourcefile.swift > sourcefile.swift.ast
$ touchtypist rewrite sourcefile.swift.ast
- let value = 1
+ let value: Int = 1
- [1, 2, 3].map { i in
+ [1, 2, 3].map { (i: Int) -> String in
return i.description
}
Rewrite Xcode projects
Set User-Defined build setting, SWIFT_EXEC
with touchtypist-xcode-wrapper
and run building.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].