Re: [swift-users] Where to read about *.swiftmodule file format?

2017-11-29 Thread Volodymyr B via swift-users
Hi Slava,

Thank you for your respond. 

I want to read content of file and present relations between classes in visual 
diagram. 

Then I thought it also will be useful for other cases.


Best regards,
Volodymyr Boichentsov







> On 28 Nov 2017, at 21:07, Slava Pestov  wrote:
> 
> Hi Volodymyr,
> 
> The format is not documented anywhere and is subject to change. A good 
> starting point is include/swift/Serialization/ModuleFormat.h, but I would 
> first be curious to know what exactly you’re planning on doing with it.
> 
> It might be better to extend swift-ide-test and similar utilities to dump the 
> information you need in an easy to parse format, and exec() them from your 
> IDE, instead of attempting to parse swift modules directly.
> 
> Slava
> 
>> On Nov 28, 2017, at 7:00 AM, Volodymyr B via swift-users 
>> > wrote:
>> 
>> Hi
>> 
>> Where to read about *.swiftmodule file format?
>> 
>> And *.swiftdoc 
>> 
>> I want to understand container of it.
>> 
>> would be good to have parser for third party IDEs.
>> 
>> Best regards,
>> Volodymyr Boichentsov
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> swift-users mailing list
>> swift-users@swift.org 
>> https://lists.swift.org/mailman/listinfo/swift-users
> 

___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


Re: [swift-users] Where to read about *.swiftmodule file format?

2017-11-28 Thread Slava Pestov via swift-users
Hi Volodymyr,

The format is not documented anywhere and is subject to change. A good starting 
point is include/swift/Serialization/ModuleFormat.h, but I would first be 
curious to know what exactly you’re planning on doing with it.

It might be better to extend swift-ide-test and similar utilities to dump the 
information you need in an easy to parse format, and exec() them from your IDE, 
instead of attempting to parse swift modules directly.

Slava

> On Nov 28, 2017, at 7:00 AM, Volodymyr B via swift-users 
>  wrote:
> 
> Hi
> 
> Where to read about *.swiftmodule file format?
> 
> And *.swiftdoc 
> 
> I want to understand container of it.
> 
> would be good to have parser for third party IDEs.
> 
> Best regards,
> Volodymyr Boichentsov
> 
> 
> 
> 
> 
> 
> 
> ___
> swift-users mailing list
> swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


[swift-users] Where to read about *.swiftmodule file format?

2017-11-28 Thread Volodymyr B via swift-users
Hi

Where to read about *.swiftmodule file format?

And *.swiftdoc 

I want to understand container of it.

would be good to have parser for third party IDEs.

Best regards,
Volodymyr Boichentsov







___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users