Swift Front-end C API


(Ramakrishna Mallireddy) #1

Does swift-clang parse swift code too.

Thanks
Ramakrishna


(Jeremy Pereira) #2

Does swift-clang parse swift code too.

No. Swift-clang is a clone of the official llvm clang repository with a few changes which I think are to enable Swift to interface with C and Objective-C better.

https://swift.org/source-code/#cloned-repositories

···

On 26 Feb 2016, at 17:49, Ramakrishna Mallireddy via swift-users <swift-users@swift.org> wrote:

Thanks
Ramakrishna
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Greg Parker) #3

If you want to parse Swift code you should look at SourceKit in the Swift repository.

···

On Feb 29, 2016, at 7:49 AM, Jeremy Pereira via swift-users <swift-users@swift.org> wrote:

On 26 Feb 2016, at 17:49, Ramakrishna Mallireddy via swift-users <swift-users@swift.org> wrote:

Does swift-clang parse swift code too.

No. Swift-clang is a clone of the official llvm clang repository with a few changes which I think are to enable Swift to interface with C and Objective-C better.

https://swift.org/source-code/#cloned-repositories

--
Greg Parker gparker@apple.com Runtime Wrangler