[Swift-devel] Re: cpp

Michael Wilde wilde at mcs.anl.gov
Thu Feb 5 09:06:32 CST 2009



On 2/5/09 8:38 AM, Ben Clifford wrote:
> On Thu, 5 Feb 2009, Michael Wilde wrote:
> 
>> (By the way, I played with cpp as a way to #include swift library code. 
>> It worked well for a simple test; needs much more experimentation and 
>> testing. That or a similar approach looks promising).
> 
> GNU cpp is fairly explicit in its man page about not using it for 
> non-C-like source files. That's fine for hacking round with, but so is 
> /bin/cat.

agreed.

> Implementing some library system for Swift probably needs substantially 
> more consideration - there are issues like modular compilation of code 
> that are similar to other languages, as well as other more swift-specific 
> issues (for example, should opting to use a library bring along relevant 
> tc.data entries that are not usually defined?)

yes. Just want to start somewhere to get a feeling for what is useful.



More information about the Swift-devel mailing list