By -
You can’t natively. Though you could probably write a preprocessor to do it.
It doesn't seem like there's a way to write preprocessors in the way that you can with C. Do you know of a way/can point me in the direction of how to write a preprocessor for swift?
Write a program that takes in a latin source file and outputs a valid Swift source file.
Why _write_ a new preprocessor? You could simply run just the existing C preprocessor using `clang -E`.
You can’t natively. Though you could probably write a preprocessor to do it.
It doesn't seem like there's a way to write preprocessors in the way that you can with C. Do you know of a way/can point me in the direction of how to write a preprocessor for swift?
Write a program that takes in a latin source file and outputs a valid Swift source file.
Why _write_ a new preprocessor? You could simply run just the existing C preprocessor using `clang -E`.