Add swift preprocessor stuff

Closes #10