Hi Davide,

We’ve just released an initial implementation of libSyntax for Swift that will 
be accessible in a toolchain in the near future.

With it, you’d be able to generate Syntactic nodes on the fly, automatically, 
from Swift. I’d love for it to be applied to a fuzzer — I wanted to write 
something like that myself!

I’ll reach out offline and talk to you more about this.

Best,
Harlan Haskins

> On Aug 18, 2017, at 3:45 AM, Davide Italiano via swift-dev 
> <swift-dev@swift.org> wrote:
> 
> Hi,
> as part of a fuzzing project I have some needs to parse/mutate the AST.
> When I work with clang I generally use libclang (RecursiveASTVisitor)
> but I'm not aware of any Swift equivalent officially released as part
> of apple/swift ( the best I was able to find is this repo
> https://github.com/yanagiba/swift-ast ).
> Does such thing exist? I'd prefer a C++ library as I'm not really Swift savvy.
> 
> Thanks,
> 
> --
> Davide
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to