Is there a Swift parser out there?

23 views
Skip to first unread message

Bob Fang

unread,
Jun 8, 2015, 4:13:54 PM6/8/15
to swift-l...@googlegroups.com
Hi, just wondering if there is a Swift parser out there? Preferably in C or C++ but other language should also works. Thanks.

Fritz Anderson

unread,
Jun 9, 2015, 9:12:03 AM6/9/15
to Bob Fang, swift-l...@googlegroups.com
On Jun 8, 2015, at 3:13 PM, Bob Fang <dora...@gmail.com> wrote:

> Hi, just wondering if there is a Swift parser out there? Preferably in C or C++ but other language should also works. Thanks.

Fully implemented, as a library, for use at interactive speed? No hope until Swift 2.0 goes open-source for OS X and Linux “in the fall.” (Though the daring of independent hackers always surprises me.)

If you can tolerate running on a Mac with command-line tools installed, not having interactive performance, and having only LLVM parse trees to go by, the swiftc command-line tool will give you those.

— F

Reply all
Reply to author
Forward
0 new messages