Re: [swift-dev] Question about dump-ast and logging the output to file

2016-08-28 Thread Marcel Rebouças via swift-dev
Hello Dmitri, Thank you for your answer. Although I didn't tell, I was already able to generate the output of the astdumper to a file (without using the flag, just reusing the AstDumper class) when building through Xcode. I understand that the output is irregular, but I plan to eventually modify t

[swift-dev] Question about dump-ast and logging the output to file

2016-08-24 Thread Marcel Rebouças via swift-dev
Hello everybody, I am planning in doing some research and analysis with the ASTs of swift programs and, for that reason, *I am trying to modify the compiler to always generate a file with the contents of the -dump-ast flag when building a project.* However, I wanted to do this even *without the -