> On May 9, 2016, at 10:00 AM, Minsheng Liu via swift-dev <swift-dev@swift.org> 
> wrote:
> 
> Thanks for your information. However, what I intend to work on is a 
> Swift-to-JS translator, which I guess probably need to stick with the 
> upstream anyway. I think that make the output a bit more parsing-friendly 
> will not harm, will it?
> Moreover, if you do not suggest parse the dumped AST, is there any 
> recommended way to reuse the compiler’s front-end?

It would be better to use an interface designed for programmatic consumption, 
either coding against Swift's libSwiftAST.a directly, or through our libIDE or 
SourceKit, than to use our debug dumping outputs.

-Joe
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to