I've submitted a few small merge requests to the swift-driver, based on the development plan in the README, but now I find I'd like to tackle something a bit bigger. However I'm unable to proceed on my own, so I thought I'd ask here:
One of the tasks outlined is the following:
Find a better way than
makeOptions.cppto translate the command-line options from Swift's repository into
What would "a better way" look like? I see two disadvantages of the current system:
Options.swiftrequires one to build the Swift compiler
makeOptions.cppis written in C++
Is it possible/feasible/desirable to somehow eliminate the need to build the compiler? If so, where would one start?
Would anything be gained by just rewriting
makeOptions into Swift?
Are there other things that could be done that I'm overlooking?