square / Cleanse

Lightweight Swift Dependency Injection Framework
Other
1.78k stars 90 forks source link

Core Models & Parsing Fixtures #138

Closed sebastianv1 closed 4 years ago

sebastianv1 commented 4 years ago

Add swiftc-ast wrapper script.

This script is intended to be used as a proxy for compiling swift files and emitting their typed AST via -dump-ast mode.

Using the script in Xcode involves setting the SWIFT_EXEC build setting to the path of this script. Its output file will be based on the DAST_FILE preprocessor macro.

Create core Visitor/Parsing models.